[quote=dr.sex]
.....?
kmn........trhedd wa..?
yg tw tolong kasih tw...?
tred wa tentang konsul sex...?[/quote]
coba ke sini bro [url=http://www.duniasex.com/ ]ds[/url]
mungkin di situ bisa kosultasi masalah lemah syahwat dan sejenisnya ...
[quote=_Qq Gunners_]aku nggak punya kode random friend
gimana cara kombinasiinnya?
sama wvm 2.1[/quote]
gini q
yg ini taruh pas di atasnya tracker object
jadi gini
[quote]}[color=#ff0000]<== penutup bagian B[/color]
[color=#0000ff]/* random friends */[/color]
[color=green]/* tracker object */[/color][/quote]
[spoiler]/* random 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'></div>";
addBox("LEFT","Random Friends",htm,"frbox","1");
show_hide('content_frbox');
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="<blink><b>Friends Loading... Please wait...</b></blink>";
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];
}
shakedapic("frbox",2);
},
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=[HEADER TOOLTIPS] body=[BODY TOOLTIPS]\">Randomized friends</div></a>";
Ffetcher.show();
}
function randOrd(){
return (Math.round(Math.random())-0.5);
}[/spoiler]
trus ini [b]Ffetcher.init();[/b] taruh di atasnya ini [b]TRACKER.init();[/b]
dan yg ini masukin k css lo
[spoiler]#fcontainer * {
padding: 0px;
margin: 0px;
font-size: 9px
}
.thumbnaildelete {
display: none
}
#fcontainer {
text-align: center;
height: 300px
}
#fcontainer .flogriditem {
width: 85px;
overflow: hidden;
margin: 4px;
height: 150px
}
.inlinelt {
position: relative;
left: -2px;
top: 1px
}
.flo50 .ic .imgblock a img {
height: 80px
}
.flo50 .ic .imgblock {
height: 80px;
width: 80px;
overflow: hidden;
background: transparent;
border:none;
text-align: center;
}[/spoiler]
itu dah gw gabungin ama min/max tooltips ......
Last edited by Co_don SanAdH (2008-07-10 07:03:21)