lets to discuss
plis help me about this [spoiler]WVM = {};
(function() {
WVM = {
info: {
history: null
},
regexp: {
history: /id="profilehistory">([\S\s]*?)<\/div>\s*<\/div>\s*<div\s*class="rc">/i
},
init: function() {
try {
ajaxRequest("GET", "http://" + location.hostname + "/profilehistory.php?a=0&uid=" + pageViewerID , true, null, WVM.viewer, null);
} catch(e) {}
},
viewer: function(myfriend) {
if (myfriend.replace(/^\s*|\s*$/g, "") === "") {
alert("Error: Unable to parse user details!");
return;
} else if (myfriend) {
for (var val in WVM.info) {
try {
WVM.info[val] = new RegExp(WVM.regexp[val]).exec(myfriend)[1].replace(/^(\d)$/, "0$1");
} catch(e) {
WVM.info[val] = "";
}
}
view="<div class='flogrid75'>"+WVM.info.album.replace(/photothumb/gi,"flogriditem").replace(/m.jpg/gi,"t.jpg");
addBox("LEFT","yang liat2 FS lo",view,"viewme","0");
}
}
};
})();
if(pageViewerID!=pageOwnerID) if(pageViewerID!="") WVM.init();[/spoiler]
i wanna to try ajax viewer [url]http://www.friendster.com/profilehistory.php[/url]