[quote=joewanango@gmail.com][b]@ all[/b]plz bantuin dunk dr kmarin nih aku masukin script random friend ke js aku tp g mau nongol sama mp3 juga ada yg bs ni url js q [b]
http://h1.ripway.com/joewana/joewana.js[/b] tapi script randm frennya udah tak hps apa ada yg slh di js ak atau css aku ya padahal tak coba di fs tmen bisa tuh tulungin yah...oh ya untuk wiget sms kode verifikasinya kq lama ya nerimanya ak dah dua jam tp blm dpt blsanya apa tmen2 yg udah pake juga gitu[/quote]
gmn mau ada mp3 bro, scriftnya jg tdk ada di js bro :D
moga2 saya bisa bantu :)
ini buat mp3 nya
[spoiler]var mp3 ="<div align='center'><embed allowScriptAccess=\"never\" src=\"[b]
http://www.fileden.com/files/2007/4/5/958013/My%20Documents/blueround.swf[/b]\" menu=\"false\" quality=\"high\" width=\"265px\" height=\"270px\" name=\"index\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" flashvars=\"playList=[b]
http://www.fileden.com/files/2007/4/5/958013/My%20Documents/black.xml[/b]\" wmode=\"transparent\"/></embed><br /><a href=\"http://www.myspaceprodesigns.com\"></a></div></div>";
addBox("RIGHT",pageOwnerFName+"'s Jukebox",mp3,"music","2");[/spoiler]
kalau mau ganti skin dan lagunya ganti yg di bold :) dan letakan di [b]BAGIAN B[/b]
ini buat random friennya :
letakan di atas [b]TRACKER OBJECT[/b]mu
[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>";
addBox("Friends",htm,"frbox",/commonbox[\s]*?moreabout/i);
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]
dan tempatkan ini di css extentionmu
[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: #FFFFFF;
border: 2px #97B6CA solid;
text-align: center;
}[/spoiler]
kalau mau lebih jelas ttg randomfriends masuk kesini
http://theftalk.com/t18905-%7BTUTORIAL%7D-Kombinasi-Random-Friends-dengan-versi.html
disana ada bang kanal :)
[b]bro hari risandi[/b]
coba edit lg txtnya dan [b]TOOLTIPS cursor[/b]nya ditaruh dipaling bawah js mu
dulu juga saya pernah alami seperti itu
akhirnya pas dikonsul ada yg menyarankan spt itu dan berhasil :D
Last edited by eddi (2008-04-24 17:27:57)