2008-07-27 23:59:12

cheetra
» FTalker
FTalk Level: zero
143
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]thicondrius[/b] weks.. onloadhandler'a malah di hapus.. maksud bro [b]malm[/b] ntu.. tulisan /**bagian B*/ di pindahin ke atas onload handler... cuba kamu jadiin seperti ini.. [spoiler]/* ------------------------------------ BAGIAN B */ function onProfileLoad() { //onload handler var code="<div align='center'><img src='http://photos.friendster.com/photos/58/89/53199885/1_170371794l.jpg' widht='300px' height='250px'></div>"; addBox("RIGHT","<div title=\"header=[Nie Foto Cewe Gw] body=[Manis gagh ?]\">Nie Cewe Gw....</div>",code,"DIV293","7"); // FRIENDS THUMBNAILS var puputu="<br><div align='center' class='gallerycontainer'>"+ "<a class=\"thumbnail\" href=\"?uid=53199885\"><img src=\"http://photos.friendster.com/photos/58/89/53199885/1_170371794l.jpg\" class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()' width=\"75px\" height=\"75px\" border=\"0\" /><span><img src=\"http://photos.friendster.com/photos/58/89/53199885/1_170371794l.jpg\" width=\"170px\" height=\"200px\" /><br>nin rinaaaaa<br><hr>Nie Cewe Gw Cantik Gagh menurut Kalian ? kalo menurut gw dia perfect.<hr></span></a>"+ "<a class=\"thumbnail\" href=\"?uid=70646693\"><img src=\"http://photos-693.friendster.com/e1/photos/39/66/70646693/1_973671209l.jpg\" class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()' width=\"75px\" height=\"75px\" border=\"0\" /><span><img src=\"http://photos-693.friendster.com/e1/photos/39/66/70646693/1_973671209l.jpg\" width=\"170px\" height=\"200px\" /><br>ariestya danang<br><hr>Nie Kk sepupu gw...ganteng yaw ?<hr></span></a>"+ "<a class=\"thumbnail\" href=\"?uid=42429815\"><img src=\"http://photos-815.friendster.com/e1/photos/51/89/42429815/1_141050679l.jpg\" class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()' width=\"75px\" height=\"75px\" border=\"0\" /><span><img src=\"http://photos-815.friendster.com/e1/photos/51/89/42429815/1_141050679l.jpg\" width=\"170px\" height=\"200px\" /><br>Aristya Hermawan<br><hr>Nie Ade gw...busyet banyak banget yang suka sma dia<hr></span></a>"+ "<a class=\"thumbnail\" href=\"?uid=44797133\"><img src=\"http://photos.friendster.com/photos/33/17/44797133/1_814208089l.jpg\" class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()' width=\"75px\" height=\"75px\" border=\"0\" /><span><img src=\"http://photos.friendster.com/photos/33/17/44797133/1_814208089l.jpg\" width=\"170px\" height=\"200px\" />agTie cygReza<br><hr>Nie SOHIB gw banget dia selalu ada bwat gw<hr></span></a>"+ "<a class=\"thumbnail\" href=\"?uid=42484032\"><img src=\"http://photos.friendster.com/photos/23/04/42484032/1_977356282l.jpg\" class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()' width=\"75px\" height=\"75px\" border=\"0\" /><span><img src=\"http://photos.friendster.com/photos/23/04/42484032/1_977356282l.jpg\" width=\"170px\" height=\"200px\" /><br>arief rahman<br><hr>nie sohib dirumah gw kayak afgan KATANYA<hr></span></a>"+ "<a class=\"thumbnail\" href=\"?uid=70426059\"><img src=\"http://photos-059.friendster.com/e1/photos/95/06/70426059/1_752706799l.jpg\" class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()' width=\"75px\" height=\"75px\" border=\"0\" /><span><img src=\"http://photos-059.friendster.com/e1/photos/95/06/70426059/1_752706799l.jpg\" width=\"170px\" height=\"200px\" /><br>Thie<br><hr>Nie temen gw. manis gagh ?<hr></span></a>"+ "<a class=\"thumbnail\" href=\"?uid=65071975\"><img src=\"http://www.friendster.com/photos/65071975/1/230193625\" class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()' width=\"75px\" height=\"75px\" border=\"0\" /><span><img src=\"http://www.friendster.com/photos/65071975/1/230193625\" width=\"170px\" height=\"200px\" /><br>CikaL aNarki<br><hr>Nie sohib gw dirumah ataupun disekolah sma dolo<hr></span></a>"+ "<a class=\"thumbnail\" href=\"?uid=20488250\"><img src=\"http://photos.friendster.com/photos/05/28/20488250/1_886834301l.jpg\" class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()' width=\"75px\" height=\"75px\" border=\"0\" /><span><img src=\"http://photos.friendster.com/photos/05/28/20488250/1_886834301l.jpg\" width=\"170px\" height=\"200px\" /><br>- AdiYaT - <br><hr>nie temen di FTI=friendstertalkindonesia<hr></span></a>"+ "<a class=\"thumbnail\" href=\"?uid=63907785\"><img src=\"http://photos-785.friendster.com/e1/photos/58/77/63907785/1_112640788l.jpg\" class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()' width=\"75px\" height=\"75px\" border=\"0\" /><span><img src=\"http://photos-785.friendster.com/e1/photos/58/77/63907785/1_112640788l.jpg\" width=\"170px\" height=\"200px\" /><br>Riko<br><hr>nie sohib gw disekolah<hr></span></a>"+ "<a class=\"thumbnail\" href=\"?uid=66190569\"><img src=\"http://photos.friendster.com/photos/96/50/66190569/1_196353148m.jpg\" class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()' width=\"75px\" height=\"75px\" border=\"0\" /><span><img src=\"http://photos.friendster.com/photos/96/50/66190569/1_196353148m.jpg\" width=\"170px\" height=\"200px\" /><br>♫ titah_nii ♫<br><hr>nie temen gw di sekolah. cantik yaw ? dah ada yang punya tuh<hr></span></a><br>"+ "<input type=\"button\" value=\"= View all =\" onClick=\"top.location.href='http://www.friendster.com/friends/66390095'\" class=\"tingali\"></div><br><br>"+ "</div><br/><br/>"; addBox("LEFT","My friends",puputu,"bologetoo","6"); // FANS h=document.getElementById("7").getElementsByTagName("h2")[0]; h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_7'); return false\"><div>"+pageOwnerFName+"\'s a Fan of ...</div></a>"; // GROUPS h=document.getElementById("8").getElementsByTagName("h2")[0]; h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_8'); return false\"><div>"+pageOwnerFName+"\'s Groups</div></a>"; addBox("RIGHT"," "+pageOwnerFName+"'s Visitors",TRACKER.div.innerHTML,"tracker",null); } /*RANDOMIZED FRIENDS*/ if (typeof Ffetcher == "undefined") { Ffetcher = {}; } Ffetcher = { friends: new Array(), pages: null, maxfriends: null, container: null, cached: new Array(), display: 8, 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","Friends",htm,"frbox","18"); 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... Please 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="<a href=\"#\" onClick=\"show_hide('content_frbox'); return false\"><div title=\"header=[hway "+pageViewerFName+"] body=[Click here to view my other Friends]\">Random Friends</div></a>"; show_hide('content_frbox'); Ffetcher.show(); } [/spoiler] deskripsi: kopas/ganti punya kamu dengan nyang ntu.. lalu hapus random friends yang di bagian C.. ini kode paan..?? [quote]function randOrd(){ return (Math.round(Math.random())-0.5); }[/quote] klo ga berguna buang aja.. (sorry klo salah..coz ga tau...)

Last edited by cheetra (2008-07-28 00:02:08)

Board footer

© 2024 F Talk

Current time is 11:18

[ 12 queries - 0.813 second ]
Privacy Policy