[quote=oblack]ada yg tau/punya script buat masukin miniviewer ke Who I Want to Meet gk
bagi yagh
[/quote]
mksd'a photo viewer d WIWTM bkn???
klo emang iya, nih script'a:
[quote]d JS bagian C/A
[spoiler]if(document.location.href.match(/profiles\./)) document.location.href = document.location.href.replace(/profiles\./, "");
document.domain="friendster.com";
function getPrimaryImage(mypic) {
viewerMpic = /(<img\s*src=(['"][\S\s]+?['"]))>/.exec(mypic)[1].replace(/([\d]+?)/g, "$1");
if(window.vwidth && window.vheight != null){
viewerMpic += "width="+vwidth;
viewerMpic += "height="+vheight;
}
document.getElementById("mainpic").innerHTML = viewerMpic+"/>";
}try {
if(document.getElementById("mainpic") != null) {
try {
vwidth = /width=(\d+)/.exec(document.getElementById("mainpic").innerHTML)[1];
}catch(err){}
try{
vheight = /height=(\d+)/.exec(document.getElementById("mainpic").innerHTML)[1];
}catch(err){}
AjaxRequest('viewerPic','http://www.friendster.com/modules/module.php?uid="+pageViewerID+"&_pmr=h&_pmmo=0&_pmt=amf','getPrimaryImage','viewerPic1');
}
}catch(e){}
function AjaxRequest(xmlHttp,base_domain,ajaxfunc,createAjax) {
eval("var "+xmlHttp);
eval(xmlHttp+"=window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject('Msxml2.XMLHTTP');");
eval(xmlHttp+".onreadystatechange=function(){if("+xmlHttp+".readyState==4){"+createAjax+"="+xmlHttp+".responseText;"+ajaxfunc+"("+createAjax+")}}");
eval(xmlHttp+".open('GET','"+base_domain+"',true);");
eval(xmlHttp+".send(null);");
}[/spoiler]
& d box WIWTM'a
[spoiler]<div id='mainpic'>width=[b]120[/b];height=[b]120[/b]</div>[/spoiler]
edit yg ane tebelin bwt menentukan size'a..[/quote]
sumber:
[url=http://theftalk.com/p198933-2007-08-28-02%3A21%3A55.html#p198933]Bro Kher[/url]
[hr][hr][hr][hr]
[quote=the_bucepati]ko random friend q ga jln yah....????[/quote]
berhubung "Data of chacing-memory" sdang dlam perbaikan, mka'a friends'a msih blom kebaca dlam site FS trersebut....
maka'a bnyak yg pengguna random-friends mengeluh tntng keanehan dri script tersebut...
Last edited by Da BucKz (2008-11-17 06:09:55)