[quote=g0ds0n]bg,, kalo mau buat visitor aku ada d tgh gmna??
url fs
http://friendster.com/g0ds0n
tlg bantuannya yah[/quote]
ganti aja fungsi addboxnya jagi gini :
[spoiler]function addBox(head,code,id,siblingafter) {
try {
var li=document.createElement("li");
} catch(e) {
var li=document.createElement("<li>");
}
if(!head) head="";
else head="<h2>"+head+"</h2>";
li.innerHTML="<div id=\""+id+"\" class=\"commonbox "+id+"\">"+
head+
"<div id=\"content_"+id+"\" [b]align=\"center\"[/b]>"+
code+
"</div>"+
"</div>";
if(siblingafter=="left") getElementsByClass(/commonbox[\s]*?controlpanel/i,null,"DIV")[0].parentNode.parentNode.appendChild(li);
else if(siblingafter=="right") getElementsByClass(/commonbox[\s]*?friends/i,null,"DIV")[0].parentNode.parentNode.appendChild(li);
else {
var si=getElementsByClass(siblingafter,null,"DIV")[0];
si.parentNode.parentNode.insertBefore(li,si.parentNode);
}
}[/spoiler]
yang di bold itu tambahannya ...