[quote=sekya]
[b]Bang Nopathz[/b]
berhasil bang
cuman iang add box kek visitor...cbox...dst gimana bang???[/quote]
coba liat fungsi addbox ... tambahkan bagian yang biru ... atau copas aja skalian :
[quote]function addBox (type,head,htm,id,sibling) {
//by marfillaster
/* ---------------------------
Available siblings
left side (mainbar)
"0" = controlpanel
"1" = photos
"13" = blogs
"12" = reviews
"6" = moreabout
"18" = publiccomments
"10" = scrapbook
right side (sidebar)
"15" = meettrail
"2" = friends
"14" = ads
"7" = fan
"8" = groups
--------------------------- */
try {
var li=document.createElement("li");
} catch(e) {
var li=document.createElement("<li>");
}
if(type=="LEFT") {
var ul=document.getElementById("0").parentNode.parentNode;
htm="<div class='boxcontent'>"+htm+"</div>";
[color=blue]var framebawah="<div><img border='0' src='http://i245.photobucket.com/albums/gg57/sekya_cahasu/bagian1bawah.jpg'></div>";[/color]
}
else [color=blue]{[/color]var ul=document.getElementById("2").parentNode.parentNode;
[color=blue] var framebawah="<div><img border='0' src='http://i245.photobucket.com/albums/gg57/sekya_cahasu/bagian2bawah.jpg'></div>";
}[/color]
li.innerHTML="<div id='"+id+"' class='commonbox "+id+"'>"+
"<h2>"+head+"</h2>"+
"<div id='content_"+id+"'>"+
htm+
"</div>"+[color=blue]framebawah+[/color]
"</div>";
if(sibling==null) ul.appendChild(li);
else {
sibling=document.getElementById(sibling).parentNode;
ul.insertBefore(li,sibling);
}
}[/quote]