2008-06-25 17:34:42

Co_don SanAdH
» FTalkAgent
FTalk Level: zero
2289
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-

[quote=oby_nagnar]klo dtmbah di bagian mana... thnks bang...[/quote] [spoiler]/* RANDOMIZE 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>"; 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]\">Teman Acak Oby</div></a>",htm,"frbox",null); show_hide("content_frbox"); document.getElementById("content_frbox").innerHTML+="<br><br><div class='morerandom'><a href='javascript: void(Ffetcher.more())'>Ke Teman Acak Lain</a></div>"; this.container=document.getElementById("fcontainer"); this.fetch(0); }, fetch: function(page) { document.getElementById("frbox").childNodes[0].innerHTML="Loading... Tnguu bntar..."; 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="[b][color=#ff0000]<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]\"><center><img src='http://i303.photobucket.com/albums/nn135/oby_nganar/RANDOMIZERFRIEND-1.png'></center></div></a>[/color][/b]"; Ffetcher.show(); } function randOrd(){ return (Math.round(Math.random())-0.5); }[/spoiler] [quote=Freeya]ni addbox saya :thumbsdown:[/quote] [quote]addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_mynav'); return false\"><div>[b][color=#ff0000]<img src='http://freeya87.fileave.com/ude/david/freeya10mj0.png'class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()' >[/color][/b]</div></a>",code,"mynav","0");[/quote] [quote=chantek]Bantuin aku dong minta lingker nya punya ku ga jalan neeee,[/quote] coba cari disini yaa [url=http://theftalk.com/t31776-Latest-JS-and-CSS-linker-%28June-26%2C-2008%29-From-The-Cradle.html][b][color=#ff0000]UNDERGROUND[/color][/b][/url]

Last edited by Co_don SanAdH (2008-06-25 17:50:45)

Board footer

© 2024 F Talk

Current time is 07:58

[ 12 queries - 0.533 second ]
Privacy Policy