[quote=shabo]Guys...gda yang bisa bntuin yak?
gimana dunk cara nampilin YM status di bawah contol panel?
trus yg nampilin viewer main photo di i want to meet, detailnya gmna siy?ku bingung..
ini di paste di i want to meet?
[quote]Code:
<div id='mainpic'>width=120;height=120</div>[/quote]
trus yang ini
[quote]Code:
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);");
}[/quote]
dalam js?di paste dimana? jadi ada 2 kode terpisah?
sorry ya..aku bingung
[/quote]
codenya dipisah
yg satu di save di who i want to meet
trus yg satu lagi di save di notepad, save as js file
trus js filenya paste di media box