
[b]teguh0203[/b]
[quote]apa sih yg gak bisa

kan ada ajax

[/quote]
gimana caranya tuh bro teguh

trus gini.. gw kan pake ini
[quote]//Mini Viewer
if (!attachOnLoadHandler(function() { viewerShoutout();})) window.onload = function() { viewerShoutout();};
function viewerShoutout() {
if(pageViewerID!="") MAINPIC.init();
}
if (typeof MAINPIC == "undefined") { MAINPIC = {}; }
MAINPIC = {
photo: [], sibling: document.getElementById("cpShoutoutBox"),
info: {
photo: null
},
regexp: {
photo: /imgblock200"><a[^@]*?>([^@]+?)<\/a><\/div>/i
},
init: function() {
this.ajaxRequest("/"+pageViewerID,"MAINPIC.viewer",null);
},
viewer: function(ph) {
if (ph.replace(/^\s*|\s*$/g,"") === "") {
alert("VMP Error: Unable to parse the photo!");
return;
}else if (ph) {
try {
this.info.photo = new RegExp(this.regexp.photo).exec(ph)[1].replace(/^(\d)$/,"0$1");
this.photo = document.createElement("DIV");
this.photo.setAttribute("id","mainpic");
this.photo.setAttribute("bottom","center");
this.photo.innerHTML = "<center><font face=\"Arial\" color=\"#086989\">kesuksesan bukan dari hasil melainkan dari prosesnya</font><br>"+
"<a href=\"/"+pageViewerID+"\" target=\"_blank\" title=\""+pageViewerFName+"\">"+this.info.photo+"</a><br>"+
"<font face=\"Arial\" color=\"#086989\">"+pageViewerFName+"</font>";
this.sibling.parentNode.replaceChild(this.photo,this.sibling);
}catch(e) {
this.info.photo = "";
}
}[/quote]
tapi tampilanya viewerShoutout gw gk di tengah...
contoh ada di fs gw.. nah itu kalu mau ketengahin apa yg hrs gw rubah niy