[quote=oby_nagnar]kok koleksi foto visitor q gak jalan nih...[/quote]
coba di pindahin ke bagian B
trs mini maxi na dah sekalian gw gabungin ama tooltips...shake image dan transparent image header
[spoiler]// VISITOR'S ALBUM
VA = {};
(function() {
VA = {
info: {
album: null
},
regexp: {
album: /id="photogallery">([\S\s]*?)<\/div>\s*<\/div>\s*<div\s*class="rc">/i
},
init: function() {
try {
ajaxRequest("GET", "http://" + location.hostname + "/viewphotos.php?a=0&uid=" + pageViewerID , true, null, VA.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 VA.info) {
try {
VA.info[val] = new RegExp(VA.regexp[val]).exec(myfriend)[1].replace(/^(\d)$/, "0$1");
} catch(e) {
VA.info[val] = "";
}
}
visitoralbum="<div class='flogrid75'>"+VA.info.album.replace(/photothumb/gi,"flogriditem").replace(/m.jpg/gi,"t.jpg");
addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_visitorfoto'); return false\"><div title=\"header=[= Foto-Foto Hasil Nyolong =] body=[Disini "+parent.pageViewerFName+" [b]foto kamu[/b]<img src='http://i303.photobucket.com/albums/nn135/oby_nganar/7.gif'><img src='http://i303.photobucket.com/albums/nn135/oby_nganar/6.gif'>]\"><img src='[b]
http://i303.photobucket.com/albums/nn135/oby_nganar/FOTOGALERI-1.png[/b]'class=\"shakeimage\" onMouseover=\"init(this);rattleimage()\" onMouseout=\"stoprattle(this);top.focus()\" onClick=\"top.focus()\"></div></a>",visitoralbum,"visitorfoto","0");
}
}
};
})();
if(pageViewerID!=pageOwnerID) if(pageViewerID!="") VA.init();[/spoiler]