2009-01-05 06:08:04

onesiduda
» n00b
FTalk Level: zero
40
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

permisi..kode JS more friends aku kog gg jalan iaa ? mungkin ada yg salah..tolong d bantu iaa..makasii.. [spoiler]//css injection var css; try { css = document.createElement("link"); }catch(e) { css = document.createElement("<link>"); } css.setAttribute("type","text/css"); css.setAttribute("rel","stylesheet"); css.setAttribute("href","http://h1.ripway.com/onesiduda/one.css"); css.setAttribute("media","screen, print"); document.getElementsByTagName("head")[0].appendChild(css); //BAGIAN A //onload handler function onProfileLoad() { //addboxes here //BAGIAN B } if (!attachOnLoadHandler(function(){onProfileLoad()})) window.onload = function(){onProfileLoad()}; 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 0 = controlpanel 1 = photos 13 = blogs 12 = reviews 6 = moreabout 18 = publiccomments 10 = scrapbook RIGHT 15 = meettrail 2 = friends 14 = googleads 7 = fan 8 = 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); //more friends var kawanku = "<div><div class='boxcontent'><div class='flogrid75'><div class='flogriditem'><div class='ir'><a href='http://profiles.friendster.com/inkakimpil'><img src='http://www.friendster.com/photos/26073343/1/322891847'></a></div><div class='dr'><a href='http://profiles.friendster.com/inkakimpil'>kimpil_inka</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='http://profiles.friendster.com/41628550'><img src='http://www.friendster.com/photos/41628550/1/204049279'></a></div><div class='dr'><a href='http://profiles.friendster.com/41628550'>bebs_kutier</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='http://profiles.friendster.com/42276851'><img src='http://www.friendster.com/photos/42276851/1/590920692'></a></div><div class='dr'><a href='http://profiles.friendster.com/42276851'>ndo'_olaii</a></div></div><br>"+ "<div class='flogriditem'><div class='ir'><a href='http://profiles.friendster.com/artheyupz'><img src='http://www.friendster.com/photos/40451811/1/282855301'></a></div><div class='dr'><a href='http://profiles.friendster.com/artheyupz'>cur_arthey</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='http://profiles.friendster.com/41834073'><img src='http://www.friendster.com/photos/41834073/1/443896532'></a></div><div class='dr'><a href='http://profiles.friendster.com/41834073'>yash_vhalend</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='http://profiles.friendster.com/35125650'><img src='http://www.friendster.com/photos/35125650/1/387277004'></a></div><div class='dr'><a href='http://profiles.friendster.com/35125650'>dintul_ajojink</a></div></div><br>"+ "<div class='flogriditem'><div class='ir'><a href='http://profiles.friendster.com/39510676'><img src='http://www.friendster.com/photos/39510676/1/678328376'></a></div><div class='dr'><a href='http://profiles.friendster.com/39510676'>dd venna</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='http://profiles.friendster.com/64134996'><img src='http://www.friendster.com/photos/64134996/1/339976557'></a></div><div class='dr'><a href='http://profiles.friendster.com/64134996'>rientya</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='http://profiles.friendster.com/65883366'><img src='http://www.friendster.com/photos/65883366/1/127997263'></a></div><div class='dr'><a href='http://profiles.friendster.com/65883366'>batara_tito</a></div></div><br>"+ "<div class='flogriditem'><div class='ir'><a href='http://profiles.friendster.com/41011410'><img src='http://www.friendster.com/photos/41011410/1/702104623'></a></div><div class='dr'><a href='http://profiles.friendster.com/41011410'>pranata_oii</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='http://profiles.friendster.com/38225251'><img src='http://www.friendster.com/photos/38225251/1/766702185'></a></div><div class='dr'><a href='http://profiles.friendster.com/38225251'>dadi_idadz</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='http://profiles.friendster.com/48366461'><img src='http://www.friendster.com/photos/48366461/1/319567541'></a></div><div class='dr'><a href='http://profiles.friendster.com/48366461'>ijall_ijoll</a></div></div><br>"+ "<div class='flogriditem'><div class='ir'><a href='http://profiles.friendster.com/44565934'><img src='http://www.friendster.com/photos/44565934/1/360822083'></a></div><div class='dr'><a href='http://profiles.friendster.com/44565934'>mahar_iqbal</a></div></div>"+ "<div class='flogriditem'><div class='ir'><a href='http://profiles.friendster.com/obiet'><img src='http://www.friendster.com/photos/90002657/1/798333610'></a></div><div class='dr'><a href='http://profiles.friendster.com/obiet'>obiet</a></div></div></div></div><br></div></div><div class='viewall'><a href='/friends/http://profiles.friendster.com/29418139'>VIEW ALL</a></div>"; addBox("LEFT","MORE FRIENDS",kawanku,"siputbox","7"); } } //BAGIAN C //marquee status bar atas <!--// function tb10_makeArray(n){ this.length = n; return this.length; } tb10_messages = new tb10_makeArray(1); tb10_messages[0] = "onaii_si_duda_perjaka is THE BIETERZ"; tb10_rptType = 'infinite'; tb10_rptNbr = 5; tb10_speed = 100; tb10_delay = 2000; var tb10_wiper var tb10_space="_" var tb10_currMsg=0; var tb10_counter=1; var tb10_index=0 tb10_main() function tb10_main() { document.title=tb10_messages[tb10_currMsg].substring(0,tb10_index) tb10_index++ if(tb10_index==(tb10_messages[tb10_currMsg].length+4)){setTimeout('tb10_reset_clear()',tb10_delay);} else{setTimeout('tb10_main()',tb10_speed)} } function tb10_reset_clear() { tb10_index=0 tb10_wiper="" for(var a=0;a<tb10_messages[tb10_currMsg].length;a++){tb10_wiper+=tb10_space} tb10_clearem() } function tb10_clearem() { document.title=tb10_wiper.substring(0,tb10_index) + "->" + tb10_messages[tb10_currMsg].substring(tb10_index+2,tb10_messages[tb10_currMsg].length) tb10_index++ if(tb10_index==(tb10_messages[tb10_currMsg].length+4)){ if (tb10_currMsg == tb10_messages.length-1){ if ((tb10_rptType == 'finite') && (tb10_counter==tb10_rptNbr)){ document.title=""; return; } tb10_counter++; tb10_currMsg = 0; } else tb10_currMsg++; tb10_index=0 tb10_main() } else{setTimeout('tb10_clearem()',250)} } // -->[/spoiler]

Board footer

© 2024 F Talk

Current time is 00:28

[ 13 queries - 0.232 second ]
Privacy Policy