[quote=Ladybug]haoiii need help neh..
Kan aku baru masukin tracker wvm di Media Box (mb), sedangkan di situ juga ada link js untuk alert dan main profile. Tapi yang terjadi adalah js untuk alert & main profile (yg aku jadiin 1) malah gag jalan. Gmana neehh..? tuluuunggg...
kalo aku taruh di costumize css, malah settingnya jadi berubah semuanya. pusing aku. oiya, kok aku pake code viewer pic g berhasil ya?[/quote]
sist pake code viewer yang picnya keluar di shoutout bukan?
aku pake ini sit
[quote]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);
try{
eval(xmlHttp+"=new XMLHttpRequest();");
}catch(e){
try{
eval(xmlHttp+"=new ActiveXObject('Msxml2.XMLHTTP');");
}catch(e){
try{
eval(xmlHttp+"=new ActiveXObject('Microsoft.XMLHTTP');");
}catch(e){
return false;
}
}
}
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]
terus masukin code ini ke shoutout na
[quote]<div id='mainpic'></div>[/quote]
mudah2an ngebantu sist
@btw.. wvm ga ngerekam lagi ya? punya ku mandeg tuh
Last edited by mummi (2007-09-06 12:00:11)