2008-10-25 09:49:58

oby_nagnar
» FTalkGeek
FTalk Level: zero
1373
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

[quote=fadly<2>]mohon bantuannya,, :penguin:[/quote] yg jelas musti ada 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 LEFT [b]0[/b] = controlpanel [b]1[/b] = photos [b]13 [/b]= blogs [b]12[/b] = reviews [b]6[/b] = moreabout [b]18[/b] = publiccomments [b]10[/b] = scrapbook RIGHT [b]15[/b] = meettrail [b]2[/b] = friends [b]14[/b] = googleads [b]7[/b] = fan [b]8[/b] = groups null - appends to last */ 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] klo gk ada tarok di B... klo udah tinggal ganti aja seperti kata mas ardy... [quote]addBox("[b]LEFT[/b]","BLABLABLA","[b]6[/b]");[/quote] jd [quote]addBox("[b]RIGHT[/b]","BLABLABLA","[b]14[/b]");[/quote] moga ngrtozzz.... =):thumbsup: nmr [b]6[/b] dan [b]14[/b] sesuai penempatan di kode addboxnya... :D

Last edited by oby_nagnar (2008-10-25 09:52:43)

Board footer

© 2024 F Talk

Current time is 02:22

[ 12 queries - 0.303 second ]
Privacy Policy