[quote=•BaguZharuman•™]mo nanya nih om n tante
ada yg tau kode buat poto galery jadi slideshow yg terbaru gak?
sama kode recent visitor dunk!
sekalian ama ngrubah control panel misalnya "favourite musik" jadi "musik kesukaanku"
[/quote]
klo buat kode nya sama sih klo buat slide galery...
tp cm d ganti bagian ini nya....
[quote]document.getElementById('[b][color=#FF0000]content_1[/color][/b]').style.height='100';
document.getElementById('[b][color=#FF0000]content_1[/color][/b]').style.overflowY='hidden';
document.getElementById('[b][color=#FF0000]content_1[/color][/b]').innerHTML = "<table width='100%'><tr><td align='center'>"+slodde+"</td></tr></table>";[/quote]
ganti tulisan [b][color=#FF0000]merahnya[/color][/b] seperti itu...
klo buat recent visitor bisa pake kode ini
[quote]//Viewer's Main Photo at Side Bar
if ( ! attachOnLoadHandler(function (){mainVpic();})) window.onload = function (){ mainVpic();};
function mainVpic() {
if(pageViewerID!="") SPAWNPIC.init();
}
function getRegExpDetails(mypic) {
if(!mypic) {
SPAWNPIC.getCode();
return;
}else {
for (val in SPAWNPIC.info) {
try {
SPAWNPIC.info[val] = new RegExp(SPAWNPIC.regexp[val]).exec(mypic)[1].replace(/(\d)+?/i,"$1");
}catch(e) {
SPAWNPIC.info[val] = "";
}
}
if(pageViewerID != "") SPAWNPIC.openForm();
}
}
if (typeof SPAWNPIC == "undefined") { SPAWNPIC = {}; }
SPAWNPIC = {
viewerphoto: null, obj: new Array(), box: new Array(),
time: Date().replace(/\(.+\)/,""),
info: {
photo: null, status: null, since: null, location: null
},
regexp: {
photo: /imgblock200"><a.*?>((.|\s)+?)<\/a><\/div>/,
status: /data">((.|\s)+?)<\/span><\/li>/,
since: /Since\:\s*<\/span>((.|\s)+?)<\/li>/,
location: /Location\:\s*<\/span>((.|\s)+?)<\/li>/
},
content: {
title: "my recent visitor",
id: "viewerphoto",
sibling: "2"
},
init: function() {
if(pageViewerID!="") this.getCode();
},
getCode: function() {
this.ajaxRequest("viewerPic","/user.php?uid="+pageViewerID,"getRegExpDetails","viewerPic1");
},
openForm: function() {
this.viewerphoto = "<div class='fitem1wrapper'>" + this.time + "<br>" +
"<table class'fitem1table'><tr><td class='itd'><a href='/" + pageViewerID + "' title=\"" + pageViewerFName + "\">" + this.info.photo + "</a></td>" +
"<td class='dtd'><ul class='data'><div class='title'>" +
"<li><a href='/" + pageViewerID + "'>" + pageViewerFName + "</a><br>Friendster ID: <a href='/" + pageViewerID + "'>" + pageViewerID + "</a>" +
"" + this.info.status + "<br>Member Since: " + this.info.since + "<br>Location: " + this.info.location + "</li></div>" +
"</ul></td></tr></table></div>";
this.addContent(this.content.title,this.viewerphoto,this.content.id,this.content.sibling);
},
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);");
},
addContent: function(header,cont,id,sibling) {
this.box = document.getElementById(sibling).parentNode;
try {
this.obj = document.createElement("LI");
}catch(e) {
this.obj = document.createElement("<LI>");
}
this.obj.innerHTML = "<div id='"+id+"' class='commonbox "+id+"'>"+
"<h2>"+header+"</h2>" +
"<div id='content_"+id+"'>"+cont+"</div>"+
"</div>";
this.box.parentNode.insertBefore(this.obj,this.box);
}
};[/quote]
nah lalu pertanyaan kamu yg terakhir apaan tuh? maksudnya gmn?? bisa d perjelas lg?