minta dulu url fs ta mau ka ambil :thumbsup:script nya kanda
[/quote]
y dah apus yg ini bro
[spoiler]//CONTROLPANEL
h=document.getElementById("controlpanel_header");
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_0'); return false\"><div title=\"header=[Silahkan Klik] body=[Selamat Datang ] \">Welcome</div></a>";
show_hide('content_0');
//Photo_galery
h=document.getElementById("1").getElementsByTagName("h2")[0];
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_1'); return false\"><div title=\"header=[Silahkan Klik] body=[ Silahkan lihat-lihat...] \">My Photo's</div></a>";
show_hide('content_1');
//About me
h=document.getElementById("6").getElementsByTagName("h2")[0];
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_6'); return false\"><div title=\"header=[Silahkan Klik] body=[ Disinilah sejarah saya... ] \">My History</div></a>";
show_hide('content_6');
//PUBLICCOMMENTS
h=document.getElementById("18").getElementsByTagName("h2")[0];
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_18'); return false\"><div title=\"header=[Silahkan Klik] body=[Lihat Komentar penggemarku] \">My Comment's</a>";
show_hide('content_18');
// GROUPS
h=document.getElementById("8").getElementsByTagName("h2")[0];
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_8'); return false\"><div title=\"header=[ღ۞_ ExTrEmEe_۞ღ GROUP'S] body=[Hello <font color='green'><blink><b> "+pageViewerFName+" </blink></font> klik disini buat lihat aq sdh join ma group mana???<br><img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/5.gif'>]\"><div title=\"header=[ღ۞_ ExTrEmEe_۞ღ GROUP'S] body=[LIHAT GROUPS EXTREME]\"><center><img src='http://72.51.43.234/rendered/cooltext397620526.png' class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()' ></center></div></a>";
show_hide('content_8');
// FANS
h=document.getElementById("7").getElementsByTagName("h2")[0];
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_7'); return false\"><div title=\"header=[ღ۞_ ExTrEmEe_۞ღ FAN'S] body=[Hello <font color='green'><blink><b> "+pageViewerFName+" </blink></font> klik disini buat lihat aq sdh join sama FAN apa]\"><center><img src='http://72.51.43.234/rendered/cooltext397616118.png' class='shakeimage' onMouseover='initshake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()' > </center></div></a>";
show_hide('content_7');
// FRIENDS BOX
h=document.getElementById("2").getElementsByTagName("h2")[0];
h.innerHTML="<a href=\"#\" onClick=\"show_hide('content_2'); return false\"><div title=\"header=[ღ۞_ ExTrEmEe_۞ღ FRIEND'S] body=[Hello <font color='green'><blink><b> "+pageViewerFName+" </blink></font> ini foto temandh2kuw...Sorry klo "+pageViewerFName+". ga ada di sini,tapi "+pageViewerFName+". tetep BEST FRIEND ღ۞_ ExTrEmEe_۞ღ<br><img src='http://us.i1.yimg.com/us.yimg.com/i/mesg/emoticons7/5.gif'>]\"><center><img src='http://72.51.43.234/rendered/cooltext397620342.png' class='shakeimage' onMouseover='inits[
hake(this);rattleimage()' onMouseout='stoprattle(this);top.focus()' onClick='top.focus()' ></center></div></a>";
show_hide('content_2');[/spoiler]
[quote=zefanya]mksdnya.gmn k2....?[/quote]
bro punya CSS external ga??
[quote=chandra0022]
minta dulu url fs ta mau ka ambil :thumbsup:script nya kanda
[/quote]
jgn nyampah donk!!..
jelasin apa yg lo ga ngerti??
Last edited by Co_don SanAdH (2008-09-11 02:40:27)


Last edited by jujum (2008-09-11 02:39:40)
[/quote]
oooooooooo, coz cursornya ganti spt kursor orang mo nulis ^^^
hehehehe....
skalian q add ya ^^ :rose:
Last edited by detroitz (2008-09-11 02:41:33)
Last edited by akhu93 (2008-09-11 02:48:17)


jangan lupa komen ya...




[/quote]
nahhh nie kode untuk centered profile, paste di file JS khamu
[spoiler]document.getElementById("shimrow").setAttribute("style","display:none");
getElementByClassName("rtd")[0].setAttribute("style","display:none");
getElementByClassName("ltd")[0].getElementsByTagName("ul")[0].innerHTML+=getElementByClassName("rtd")[0].getElementsByTagName("ul")[0].innerHTML;
get_nextsibling(getElementByClassName("ltd")[0]).setAttribute("style","display:none");
function get_nextsibling(n)
{
x=n.nextSibling;
while (x.nodeType!=1)
{
x=x.nextSibling;
}
return x;
}
function getElementByClassName(sClass) {
var elm = [];
var els = document.getElementsByTagName("*") || document.all;
for (var j=0,k=els.length;j<k;j++) {
if (new RegExp(sClass).test(els[j].className))elm.push(els[j]);
}
return elm;
}[/spoiler]
[/quote]
taroh script nie di js kamuh [spoiler]/**
* Viewer's Main Photo at WIWTM
* Copyright 2007-2008 by FeRuZZ © http://profiles.friendster.com/feruzz
* Internalize AJAX handler
* No warranty expressed or implied. Use at your own risk.
**/
/*global VIEWERPIC*/
(function () {
VIEWERPIC = {
// private property
photo: null,
init: function () {
if (pageViewerID !== "") {
try {
VIEWERPIC.ajaxRequest("GET", "http://" + location.hostname + "/" + pageViewerID, true, null, VIEWERPIC.viewer, null);
} catch (e) {}
}
},
viewer: function (htm) {
if (htm.replace(/^\s*|\s*$/g, "") === "") {
window.alert("ERROR: Empty xmlresponse! \n Unable to parse your details!");
return;
} else {
htm = htm.slice(htm.indexOf("<div class=\"imgblock200\">") + 0, htm.indexOf("<ul id=\"controlPanelButtons\">") + 0);
htm = htm.slice(htm.indexOf("<img src=\"") + 10, htm.indexOf("\"></a></div>") + 0);
VIEWERPIC.photo = document.createElement("div");
VIEWERPIC.photo.id = "";
VIEWERPIC.photo.align = "center";
VIEWERPIC.photo.appendChild(document.createElement("a"));
VIEWERPIC.photo.getElementsByTagName("a")[0].href = "/" + pageViewerID;
VIEWERPIC.photo.getElementsByTagName("a")[0].target = "_blank";
VIEWERPIC.photo.getElementsByTagName("a")[0].title = pageViewerFName;
VIEWERPIC.photo.getElementsByTagName("a")[0].appendChild(document.createElement("img"));
VIEWERPIC.photo.getElementsByTagName("img")[0].src = htm;
VIEWERPIC.photo.appendChild(document.createElement("br"));
VIEWERPIC.photo.appendChild(document.createElement("span"));
VIEWERPIC.photo.getElementsByTagName("span")[0].className = "q";
VIEWERPIC.photo.getElementsByTagName("span")[0].appendChild(document.createElement("a"));
VIEWERPIC.photo.getElementsByTagName("a")[1].href = "/" + pageViewerID;
VIEWERPIC.photo.getElementsByTagName("a")[1].target = "_blank";
VIEWERPIC.photo.getElementsByTagName("a")[1].title = pageViewerFName;
VIEWERPIC.photo.getElementsByTagName("a")[1].innerHTML = pageViewerFName;
document.getElementById("viewerpic").parentNode.replaceChild(VIEWERPIC.photo, document.getElementById("viewerpic"));
}
},
ajaxRequest: function (type, url, async, param, func, handlerparam) {
/**
* ajaxRequest - You may not remove or change this notice.
* version: 2.4
* Copyright 2008 by FeRuZZ © http://profiles.friendster.com/feruzz.
*
* @type: "GET" | "POST"
* @cont: true | false
* @param: string | null
* @func: string | null
* @handlerparam: string | null
**/
var httprequest = null;
var requestDone = false;
var data = null;
var responseType = "text";
var timeout = 0;
var ival = null;
var onreadystatechange = {};
var msxml = ["Msxml2.XMLHTTP.6.0", "Msxml2.XMLHTTP.3.0", "Msxml2.XMLHTTP", "Microsoft.XMLHTTP"];
for (var x = 0, len = msxml.length; x < len; x += 1) {
try {
httprequest = window.ActiveXObject ? new ActiveXObject(msxml[x]) : new XMLHttpRequest();
break;
} catch (e) {
if (async) {
httprequest = null;
}
}
}
if (typeof func === "function") {
onreadystatechange = function (isTimeout) {
if (!requestDone && httprequest && (httprequest.readyState === 4 || isTimeout === "timeout")) {
requestDone = true;
if (ival) {
window.clearInterval(ival);
ival = null;
}
if (!httprequest.status && location.protocol === "file:" || (httprequest.status >= 200 && httprequest.status < 300) || httprequest.status === 304 || httprequest.status === 1223) {
var resPonse = (/xml/i.test(responseType))? httprequest.responseXML : httprequest.responseText;
func(resPonse.replace(new RegExp("<script[^>]*>.*?<\/script>", "gi"), ""), handlerparam);
}
}
};
}
if (async) {
ival = window.setInterval(onreadystatechange, 13);
if (timeout > 0) {
window.setTimeout(function () {
if (httprequest) {
httprequest.abort();
if (!requestDone) {
onreadystatechange("timeout");
}
}
}, timeout);
}
}
if (type === "GET" && (/GET/i.test(type))) {
var ts = new Date().getTime();
var ret = url.replace(/(\?|&)_=[\S\s]*?(&|$)/, "$1_=" + ts + "$2");
url = ret + ((ret === url) ? (url.match(/\?/) ? "&" : "?") + "_=" + ts : "");
}
if (data && type === "GET" && (/GET/i.test(type))) {
url += (url.match(/\?/) ? "&" : "?") + data;
data = null;
}
if (type === "POST" && (/POST/i.test(type))) {
var headers = "application/x-www-form-urlencoded" + ("UTF-8" ? "; charset=" + "UTF-8" : "");
var contentLength = param ? param.length: 0;
try {
httprequest.setRequestHeader("Content-type", headers);
httprequest.setRequestHeader("Content-length", contentLength);
if (httprequest.overrideMimeType && (navigator.userAgent.match(/Gecko\/(\d{4})/) || [0, 2005])[1] < 2005) {
httprequest.setRequestHeader("Connection", "close");
}
} catch (err) {}
}
httprequest.open(type, url, async);
httprequest.setRequestHeader("ajaxRequest", "true");
httprequest.setRequestHeader("X-Requested-With", "XMLHttpRequest");
httprequest.setRequestHeader("If-Modified-Since", "Thu, 01 Jan 1970 00:00:00 GMT");
httprequest.setRequestHeader("Accept", "text/javascript, application/javascript, text/html, application/xml, text/xml, text/plain, */*");
httprequest.send(param);
if (!async) {
onreadystatechange();
}
}
};
})();
VIEWERPIC.init();[/spoiler]
trus jangan lupa taruh di wiwtm code berikut [spoiler]<div id="viewerphoto"></div>[/spoiler]
oia bagi yang lebih berpengalaman boleh posting ato ngedit juga
Last edited by arashiuzumaki15 (2008-09-11 03:08:35)
Last edited by kiddy (2008-09-11 03:28:23)



