Re: :arrow: Been thinking if i have to post this or not but i guess i should. :redface: i made this topic in order to put all the questions about multiply in one topic. And i think that having a Multipl
[quote]if (!addEvent(function() { addNewBox.init();})) { window.onload = function() { addNewBox.init();};}
if (typeof addNewBox == "undefined") { addNewBox = {}; }
addNewBox = {
init: function() {
var head = "Test Box";
var code = "[b]CODES HERE[/b]";
this.load(head,code,"test_box","mainbox_1");
},
load: function (header,cont,id,sibling) {
var base=document.getElementById(sibling).parentNode;
try{
var obj=document.createElement("div")
}
catch(e){
var obj=document.createElement("<div>")}
obj.innerHTML="<img alt='.'"+
"src='http://images.multiply.com/common/dot_clear.gif' width='1' height='20'>"+
"<div id='"+id+"'>"+
"<div class=itemboxsub>"+
"<table border=0 cellpadding=0 cellspacing=0 width='100%'><tr>"+
"<td class=icon width=16>"+
"<img alt='"+header+"' title='"+header+"'"+
"src='http://images.multiply.com/multiply/icons/clean/24x24/tagbox.png'"+
"width='24' height='24'>"+
"</td>"+
"<td class=cattitle>"+
"<a name=\""+header+"\"></a>"+header+""+"<b class='cn tl'></b>"+
"<b class='cn tr'></b></td><td class=itemsubsub></td></tr></table>"+
"</div><div class=itemshadow>"+
"<div class=itembox>"+cont+"</div>"+
"<div class=itemboxbottom>"+
"<b class='cn bl'></b><b class='cn br'></b>"+
"</div></div></div><img alt='.'"+
"src='http://images.multiply.com/common/dot_clear.gif'"+
"width='1' height='20'>";
base.appendChild(obj);
}
};[/quote]
refer to the bold part.........