2008-08-30 08:03:25

venusvhie
» FTalkGeek
FTalk Level: zero
1478
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]:arrow: oby_nagnar[/b] coba begini :thumbsdown: [spoiler]/*RANDOMIZED FRIENDS*/ if (typeof Ffetcher == "undefined") { Ffetcher = {}; } Ffetcher = { friends: new Array(), pages: null, maxfriends: null, container: null, cached: new Array(), display: 10, init: function() { var num=document.links; for(var x=0;x<num.length;x++) { if (num[x].href.match(/\/friends\/[\d]+?/)) { var t=/\(([\d]+?)\)/; this.maxfriends=t.exec(num[x].innerHTML)[1]; break; } } this.pages=Math.floor(this.maxfriends/30); var htm="<div id='fcontainer' class='boxcontent'></div>"; [b]addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_frbox'); blur(); return false\"><div title=\"header=[= TEMAN ACAK OBY =] body=[Ini foto-foto dan data-data temen-temenku] fade=[on] \">Teman Acak Oby</a></div>[/b]",htm,"frbox",null); [b] show_hide("content_frbox");[/b] document.getElementById("content_frbox").innerHTML+="<div class='viewall'><a href='javascript: void(Ffetcher.more())'>More Random Friends</a></div>"; this.container=document.getElementById("fcontainer"); this.fetch(0); }, fetch: function(page) { document.getElementById("frbox").childNodes[0].innerHTML="Friends Loading... Pls wait..."; processAjaxRequest("GET",TRACKER.base_domain+"/friends/"+pageOwnerID+"/"+page,true,null, "parseFriends",page); }, show: function() { this.container.innerHTML=""; this.friends.sort(randOrd); for(var x=0;x<this.display;x++) { this.container.innerHTML+=this.friends[x]; } }, more: function() { if(this.cached.length<(this.pages+1)) { var temp; do { temp=Math.ceil(Math.random()*(this.pages)); }while(this.cached.toString().indexOf(":"+temp+":")!=-1); this.fetch(temp); } else { this.show(); } } }; function parseFriends(htm,page) { if(!htm){ Ffetcher.fetch(page); return; } var r= /search1\x22>[\S\s]+?paginglinksmodule\x22>([\S\s]+?)<div class=\x22paginglinksmodule/; var temp=r.exec(htm)[1]; temp=temp.match(/<div class="flogriditem">[\S\s]+?<\/div>\n<\/div><\/div>/g); for(var x=0;x<temp.length;x++) { temp[x]=temp[x].replace("samsg_icon.gif>","samsg_icon.gif />"); temp[x]=temp[x].replace(/<a /g,"<a target=_blank "); if(!temp[x].match("nophoto")) Ffetcher.friends.push(temp[x]); } Ffetcher.cached.push(":"+page+":"); document.getElementById("frbox").childNodes[0].innerHTML="Friends"; Ffetcher.show(); }[/spoiler] [b]:arrow: chomaki[/b] jah bro.. :retard: liat gender gw.. nich perbaikan dkit..yang ini taro di bagian C bro.. [spoiler]//favicon var icon = document.createElement("link"); icon.rel = "SHORTCUT ICON"; icon.href = "http://emand.net76.net/bendera.gif"; document.getElementsByTagName("head")[0].appendChild(icon); // CONTROLPANEL h=document.getElementById("controlpanel_header"); h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_0'); return false\"><div >"+pageOwnerFName+"</div></a>"; // FRIENDS h=document.getElementById("2").getElementsByTagName("h2")[0]; h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_2'); return false\"><div>FRIENDS "+pageViewerFName+"</div></a>"; show_hide('content_2'); // FANS h=document.getElementById("7").getElementsByTagName("h2")[0]; h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_7'); return false\"><div>FANS "+pageViewerFName+"</div></a>"; show_hide('content_7'); // GROUPS h=document.getElementById("8").getElementsByTagName("h2")[0]; h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_8'); return false\"><div>GROUPS "+pageViewerFName+"</div></a>"; show_hide('content_8'); // MOREABOUT h=document.getElementById("6").getElementsByTagName("h2")[0]; h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_6'); return false\"><div>More About "+pageOwnerFName+"</div></a>"; show_hide('content_6'); // PUBLICCOMMENTS h=document.getElementById("18").getElementsByTagName("h2")[0]; h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_18'); return false\"><div>Testimonials and Comments for "+pageOwnerFName+"</div></a>"; show_hide('content_18'); } //customized CP document.getElementById('0').getElementsByTagName("ul")[1].innerHTML= "<boxLeftboxTopkali><span>Pria Berumur, Yang Pasti Masih Muda <img src='http://l.yimg.com/us.yimg.com/i/mesg/emoticons7/19.gif' /> </span><br></li>"+ "<li><span>Status : Yang Pasti Perjaka <img src='http://l.yimg.com/us.yimg.com/i/mesg/emoticons7/111.gif' /> </b></span><br></li>"+ "<li><span>Stamina : <img src='http://l.yimg.com/us.yimg.com/i/mesg/emoticons7/113.gif' /> <img src='http://l.yimg.com/us.yimg.com/i/mesg/emoticons7/113.gif' /> <img src='http://l.yimg.com/us.yimg.com/i/mesg/emoticons7/113.gif' /> </span><br></li>"+ "<li><span>Otak : <img src='http://l.yimg.com/us.yimg.com/i/mesg/emoticons7/112.gif' /> <img src='http://l.yimg.com/us.yimg.com/i/mesg/emoticons7/112.gif' /> <img src='http://l.yimg.com/us.yimg.com/i/mesg/emoticons7/113.gif' /> <img src='http://l.yimg.com/us.yimg.com/i/mesg/emoticons7/113.gif' /> </span><br></li>"+ "<li><span>Berkebangsaan : Indonesia <img src='http://th201.photobucket.com/albums/aa212/paduka21/th_INDONESIA.gif' /></span><br></li>"+ "<li><span>Punya FS Sejak : Kodok Beranak Kucing <img src='http://l.yimg.com/us.yimg.com/i/mesg/emoticons7/24.gif' /> </span><br></li>"+ "<li><span>Nama Panggilanku : HeLmi <img src='http://l.yimg.com/us.yimg.com/i/mesg/emoticons7/16.gif' /> </span><br></li>"+ "<li><span>ID Yahoo! Messenger : helmi_huft <img src='http://l.yimg.com/us.yimg.com/i/mesg/emoticons7/5.gif' /> </span><br></li>"+ "<li><span><img src='http://l.yimg.com/us.yimg.com/i/mesg/emoticons7/101.gif' /> No. HaPe : ssssttttt</span><br></li>"+ "<li><span>URL FS :</span><a style=\"font-weight:> http://profiles.friendster.com/chomaki</a><br /></li>";[/spoiler] kamu pake tooltips komen yang mana..?? :question: tutornya..

Last edited by venusvhie (2008-08-30 08:12:09)

Board footer

© 2024 F Talk

Current time is 06:25

[ 12 queries - 0.243 second ]
Privacy Policy