[b]@mas haris..
@kid[/b]
kekekek
oke oke..
tinkyu
[b]@angga[/b]
bro..di tmpat lo udah ada fungsi addboxnya blm sii?
td gw blm liat..
kalo blm ada ato td kehapus,,
tambahin ini
[spoiler]function addBox (type,head,htm,id,sibling) {
//by marfillaster
//type "LEFT" | "RIGHT"
//head header string
//htm innerHTML string
//id css_id string
//sibling css_id_insertbefore string | null
/* Available default Siblings
Default "sibling_ID" Boxes for Reference (10/19/07)
LEFT RIGHT
"0" = controlpanel "15" = meettrail
"1" = photos "2" = friends
"13" = blogs "14" = googleads
"12" = reviews "7" = fan
"6" = moreabout "8" = groups
"18" = publiccomments null = appends to last(without "")
"10" = scrapbook
*/
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>";
}
else {var ul=document.getElementById("2").parentNode.parentNode;
}
li.innerHTML="<div id='"+id+"' class='commonbox "+id+"'>"+
"<h2>"+head+"</h2>"+
"<div id='content_"+id+"'>"+
htm+
"</div>"+
"</div>";
if(sibling==null) ul.appendChild(li);
else {
sibling=document.getElementById(sibling).parentNode;
ul.insertBefore(li,sibling);
}
}
[/spoiler]
diatas script ini
[quote]/*---------------------------------------------- WIWTM VIEWERPIC -----------------------------------*/[/quote]
mas2e yang lain tlg bantu jg yak
/
saya bigug jg kalo msl wvm
Last edited by fuefuefue (2008-06-29 07:18:43)