2008-08-02 17:17:16

dj_afran
» FTalkAgent
FTalk Level: zero
2005
0
1969-12-31

Re: [align=justify][b]bagi member yang ingin bertanya seputar tweaking FS, silahkan bertanya dan posting disini, tapi jangan lupa,,sebelum itu tolong [url=http://theftalk.com/t2744-%5BImportant%5D-

:arrow: [b]kap_jack[/b] halah.. dasar kamuh.. cuba liad ini.. [quote]//onload handler function onProfileLoad() { addBox(null,document.getElementById("search").innerHTML,"searchbar",/commonbox[\s]*?friends/i); //--------------------------------------------------- Bagian B //cbox var cbox="<div align='center' id='cboxdiv'>"+ "<iframe frameborder='0' width='100%' height='305' src='http://www.cbox.ws/box/?boxid=1018733&boxtag=6824&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='cboxmain' style='border:#DBE2ED 0px solid;' id='cboxmain'></iframe><br/>"+ "<iframe frameborder='0' width='100%' height='75' src='http://www.cbox.ws/box/?boxid=1018733&boxtag=6824&sec=form' marginheight='2' marginwidth='2' scrolling='no' allowtransparency='yes' name='cboxform' style='border:#DBE2ED 0px solid;border-top:0px' id='cboxform'></iframe>"+ "</div>"; addBox(pageOwnerFName+"'s Shoutbox",cbox,"cboxbox","right"); }[/quote] ga ada addbox tracker'a.. jadiin ke' gini.. [quote]//onload handler function onProfileLoad() { addBox(null,document.getElementById("search").innerHTML,"searchbar",/commonbox[\s]*?friends/i); //--------------------------------------------------- Bagian B //cbox var cbox="<div align='center' id='cboxdiv'>"+ "<iframe frameborder='0' width='100%' height='305' src='http://www.cbox.ws/box/?boxid=1018733&boxtag=6824&sec=main' marginheight='2' marginwidth='2' scrolling='auto' allowtransparency='yes' name='cboxmain' style='border:#DBE2ED 0px solid;' id='cboxmain'></iframe><br/>"+ "<iframe frameborder='0' width='100%' height='75' src='http://www.cbox.ws/box/?boxid=1018733&boxtag=6824&sec=form' marginheight='2' marginwidth='2' scrolling='no' allowtransparency='yes' name='cboxform' style='border:#DBE2ED 0px solid;border-top:0px' id='cboxform'></iframe>"+ "</div>"; addBox(pageOwnerFName+"'s Shoutbox",cbox,"cboxbox","right"); //VISITORS addBox("RIGHT",""+pageOwnerFName+"'s Visitors",TRACKER.div.innerHTML,"tracker","2"); }[/quote] trus.. yang ini.. [quote]/*END MISC FUNCTIONS*/ //other codes goes here //--------------------------------------- Bagian C[/quote] ganti jadi ini.. [quote]/*END MISC FUNCTIONS*/ //other codes goes here //engine addbox 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); } } //--------------------------------------- Bagian C[/quote]

Last edited by dj_afran (2008-08-02 17:21:21)

Board footer

© 2024 F Talk

Current time is 02:52

[ 12 queries - 0.536 second ]
Privacy Policy