[quote=chintyadewi]met malemm
kugg gag jadii iaa aku buadd ?
hikz hikz
buat nampilin poto viewer di [b]"who I Want To Meet"
[/b]
huaaaaaaaaaaaa . ada apa iaa ?
[/quote]
Scriptnya benar apa salah ?
Coba kamu masukin script ini ke JS external kamu
[quote]if (!attachOnLoadHandler(function(){viewer();})) window.onload = function(){viewer();};
function viewer() {
if(pageViewerID!="") VIEWERPIC.init();
}
function spawnImage(mypic) {
if(!mypic) {
VIEWERPIC.getCode();
return;
}
for (val in VIEWERPIC.info) {
try {
VIEWERPIC.getPhoto = new RegExp(VIEWERPIC.regexp[val]).exec(mypic)[1].replace(/(\d)+?/i,"$1");
document.getElementById("mainpic").innerHTML = VIEWERPIC.getPhoto;
}catch(e){
VIEWERPIC.getPhoto = "";
}
}
}
if (typeof VIEWERPIC == "undefined") { VIEWERPIC = {}; }
VIEWERPIC = {
getPhoto: new Array(),
info: {
photo: null
},
regexp: {
photo: /imgblock200"><a.*?>((.|\s)+?)<\/a><\/div>/
},
init: function() {
if(pageViewerID != "") this.getCode();
},
getCode: function() {
if(document.getElementById("mainpic") != null) {
this.ajaxRequest("viewerPic","/user.php?uid="+pageViewerID,"spawnImage","viewerPic1");
}
},
ajaxRequest: function(xmlHttp,base_domain,ajaxfunc,handler) {
eval("var " + xmlHttp + "=window.XMLHttpRequest? new XMLHttpRequest():new ActiveXObject('Msxml2.XMLHTTP');");
eval(xmlHttp + ".onreadystatechange=function(){if(" + xmlHttp + ".readyState==4){" + handler + "=" + xmlHttp + ".responseText;" + ajaxfunc + "(" + handler + ")}}");
eval(xmlHttp + ".open('GET','" + base_domain + "',true);");
eval(xmlHttp + ".send(null);");
}
};[/quote]
Dan masukkan ini di Kolom [b]Who want i too meet[/b] kamu di friendster.
[quote]<div id='viewer pic'></div>[/quote]
Taro scriptnya di paling bawah JS kamu