
UPDATED!! Now, in anti-poser CBox..
What is anti-poser?
- The Name is automatically provided by the pageVieweFName variable
- The URL of the Page to Visit is automatically submitted
CLICK HERE FOR PREVIEW
/* ONLOAD HANDLER */
if (!addEvent(function() { CHATBOX.init();})) { window.onload = function() { CHATBOX.init();};}
/* END ONLOAD HANDLER */
/* CHATBOX OBJECT */
if (typeof CHATBOX == "undefined") { CHATBOX = {}; }
CHATBOX = {
module: [],
cbox: {
source: "www4", //edit this to your own source
boxid: "1234567", //edit this to your own boxid
boxtag: "8910" //edit this to your own boxtag
},
style: {
width: "90%", //edit if necessary
mainheight: "125px", //edit if necessary
border: "0" //edit if necessary
},
textarea: {
rows: "2", //edit if necessary
cols: "15", //edit if necessary
},
frame: {
width: "100%",
overflow: "hidden"
},
//edit below and your brain will explode
init: function() {
var sty = "";
for (val in this.frame) {
sty += val +":"+ this.frame[val]+";";
}
this.module = document.createElement("DIV");
this.module.setAttribute("align","center");
this.module.setAttribute("style",""+sty+"");
this.module.innerHTML = "<iframe frameborder='"+this.style.border+"' width='"+this.style.width+"' height='"+this.style.mainheight+"' src='http://"+this.cbox.source+".cbox.ws/box/?boxid="+this.cbox.boxid+"&boxtag="+this.cbox.boxtag+"&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='cboxers' id='cboxers' style=\"border:#000000 1px solid;\"></iframe>"+
"<br><form name='chat' width='"+this.style.width+"' target='cboxers' action='http://"+this.cbox.source+".cbox.ws/box/?boxid="+this.cbox.boxid+"&boxtag="+this.cbox.boxtag+"&sec=submit' method='post'>"+
"<input type='hidden' name='nme' value='"+pageViewerFName+"'><input type='hidden' name='eml' value='http://"+pageViewerFName+".multiply.com/'>"+
"<textarea style='overflow:hidden' class='cboxMsgArea' cols='"+this.textarea.cols+"' rows='"+this.textarea.rows+"' name='pst'></textarea><br />"+
"<input type='submit' class='cboxButtons' value='Post' name='asa' onmouseover=\"this.className='cboxButtons cboxButtonshov'\" onmouseout=\"this.className='cboxButtons'\">"+
"<input class='cboxButtons' type='reset' value='Clear' onClick='reset()' onmouseover=\"this.className='cboxButtons cboxButtonshov'\" onmouseout=\"this.className='cboxButtons'\">"+
"<input type='button' class='cboxButtons' value='Reload' name='cboxers' onClick='window.cboxers.location.href=document.getElementById(\"cboxers\").src' onmouseover=\"this.className='cboxButtons cboxButtonshov'\" onmouseout=\"this.className='cboxButtons'\"></form>";
document.getElementById("rail").appendChild(this.module);
}
};
/* END CHATBOX OBJECT */What part shall you edit?
Uhmm.. Look for this part..
cbox: {
source: "www4",
boxid: "1234567",
boxtag: "8910"
},
Edit your it to your own code in CBox. Coz those digits are not yours LOL.
You can also edit the styles...
Save it in your JS File.
Enjoy!
If the chatbox doesn't appear:
1.) Check if your boxtag, source, and boxid are all correct
2.) Check that you don't have a code like this in your CSSCode:
.iframe {display:none}Instead... use this..
Code:
div.ads iframe{display:none!Important}3.) Just post any problems here.
Just click the Preview above to check if it's working.. Just checked it in IE6+ and FF2+
Goodnight. 
Last edited by xavierkym (2008-01-10 01:55:37)
Thanks xave , nice new structure/style of that cbox code.. 
-Offline- |

Haha.. Coz I'm oweiz amazed on Feruzz's way of coding.. I just studied i in few hours.. And I got the concept..
It also makes the editing easier for newbies.
Am I right? 
Yes... and not for newbies but for all. 
-Offline- |

-Offline- |
amazing tnx for sharing the code

-Offline- |
-Offline- |

thx xave..
i will use it..
![]()

|
nice thanks Pekz...ahahah ill try this! XD

-Offline- |
thanks for sharing. ;d
-Offline- |

OFFTOPIC:BTW pipol! this section & threads are just new...avoid spamming & posting single words okay?!XD
TOPIC:Thanks for the share, nice having you here


Haha. Other than CBox you can also put mp3 and other stuffs. I'll make a thread later. 

^gud...ill add mine too...later! ahahahha XD


thanks sir Xave
![]()


This will solve the hide ads iframe problem...
.railbody iframe {display:none!Important}Hides the iframe on rail but will keep chatbox due to the addbox function is added in the railend
![]()

^thanks ephe for adding those codes! 


Ephemeral wrote:
This will solve the hide ads iframe problem...
Code:
.railbody iframe {display:none!Important}Hides the iframe on rail but will keep chatbox due to the addbox function is added in the railend
![]()
Uhmm not sure if that will work bro..
Hehe.. Because the cbox also belongs to the railbody ..
But I think it will work.. I'll try. 
edited....
Just viewed the source of Multiply and saw that a new div class for advertisement has been added
So now, we can hide the ads
div.ads iframe {display:none!Important}That's in your CSS
Last edited by xavierkym (2008-01-09 18:26:17)

^ahh ok
Anyway I tried
.railbody iframe {display:none!Important}in my multiply and works well hehe, it works due to specific allocation
your code ads on rail and the advertisements shows up on railbody area. 
