[quote=irwan_syah]irwan_syah[/quote]
nih kodenya
[quote]/*CP DATA*/
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>Real Name : [[b]bla bla bla[/b]</span><br></li>"+
"<li><span>Status : [b]bla bla bla[/b]</span><br></li>"+
"<li><span>Zodiac : [b]bla bla bla[/b]</span><br></li>"+
"<li><span>Interest : [b]bla bla bla[/b]</span><br></li>"+
"<li><span>Member Since : [b]bla bla bla[/b]</span><br></li>"+
"<li><span>Country : [b]bla bla bla[/b] <img src='http:[b]bla bla bla[/b]></span><br></li>"+
"<li><span>Hometown : [b]bla bla bla[/b]</span><br></li>"+
"<li><span>Login : [b]bla bla bla[/b]</span><br></li>"+
"<li><span>College : [b]bla bla bla[/b]</span><br></li>"+
"<li><span>Hotlink :</span><a style=\"font-weight: normal;\" href=\"[b]bla bla bla[/b]"> [b]url FS kamu[/b]</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]
ganti yang aku [b]tebelin[/b]
copas di[b] area B[/b]
Last edited by kuntilanak (2008-10-02 08:52:06)