2008-08-31 12:14:41

rouet
» FTalker
FTalk Level: zero
224
0
1969-12-31

Re: Bagi para member yang ingin bertanya seputar tweaking FS. Silahkan bertanya dan posting disini. Sebelum itu harap membaca dan mengikuti [url=http://theftalk.com/t23371-FORUM-RULES.html][b]FORUM

[b]ALL...[/b] bantuin aku dunk ada yang punya scriptnya randomize friends ga..?? aku pake fungsi addbox yang ini :thumbsdown: [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>"); } /*********************** PERHATIKAN BAGIAN INI ***************************/ if(type=="LEFT") { var ul=document.getElementById("0").parentNode.parentNode; htm="<div class='boxcontent'>"+htm+"</div>"; var framebawah="<div><img border='0' src='http://www.geocities.com/arek_jayus/sandy/bawah.jpg'></div>"; } else {var ul=document.getElementById("2").parentNode.parentNode; var framebawah="<div><img border='0' src='http://www.geocities.com/arek_jayus/sandy/bawah.jpg'></div>"; } /************************************************************************/ li.innerHTML="<div id='"+id+"' class='commonbox "+id+"'>"+ "<h2>"+head+"</h2>"+ "<div id='content_"+id+"'>"+ htm+ "</div>"+framebawah+ "</div>"; if(sibling==null) ul.appendChild(li); else { sibling=document.getElementById(sibling).parentNode; ul.insertBefore(li,sibling); } }[/spoiler] plis dunkz and sekalian buat mini maxinya :D :D :D :D

Last edited by rouet (2008-08-31 12:19:50)

Board footer

© 2024 F Talk

Current time is 18:11

[ 12 queries - 0.281 second ]
Privacy Policy