bro..code aku yang ini g jalan...apa mungkin ada kesalahan??
tolong periksa y para master FTI
code ini buat control panel tapi g jalan ni...
[quote]if ( ! attachOnLoadHandler(function () { CustomFNames();})) window.onload = function () { CustomFNames();};
function CustomFNames() {
CFNAMES.init();
}
if (typeof CFNAMES == "undefined") { CFNAMES = {}; }
CFNAMES = {
getData: new Array(),
elements: {
mainid: document.getElementById("content_0"),
maintag: "UL",
mainclass: "data"
},
init: function() {
this.getData = "<li><span><U><font color='red'>Pria noRmaL</font>, peRjaka mUda</span><br></li>"+
"<li><span>laki-laki, 19 taon</span><br></li>"+
"<li><span>dilahirkan di kota <U>bogor</U> tercinta pada tanggal 08 january</span><br></li>"+
"<li><span><I>Berdomisily Di kota bandung sementara waktu</I></span><br></li>"+
"<li><span>ingin sangat amad lulus kul n wisuda cpt"</span><br></li>"+
"<li><span><U>ingin sangad amad juga ngebahagiain ortu</U></span><br></li>"+
"<li><span>Email gw :super_hokage@yahoo.co.id</span><br></li>"+
"<li><span>[ YM ] gW :</span>super_hokage</span><br></li>"+
"<li><span>No.HP Gw :</font>085720269xxx</span><br></li>"+
"<li><span>My URL: </span><a style=\"font-weight: normal;\" href=\"/YOURUSERNAME\">
http://profiles.friendster.com/44749085</a><br/></li>";
this.getElementsByClassName(this.elements.mainid,this.elements.maintag,this.elements.mainclass)[0].innerHTML = this.getData;
},
getElementsByClassName: function(oElm, strTagName, strClassName) {
var arrElements = (strTagName == "*" && oElm.all)? oElm.all : oElm.getElementsByTagName(strTagName);
var arrReturnElements = new Array();
strClassName = strClassName.replace(/\-/g, "\\-");
var oRegExp = new RegExp("(^|\\s)" + strClassName + "(\\s|$)");
var oElement;
for(var i=0; i<arrElements.length; i++){
oElement = arrElements[i];
if(oRegExp.test(oElement.className)){
arrReturnElements.push(oElement);
}
}
return (arrReturnElements);
}
};[/quote]