[quote=planetoheaven]itu buat apa sekya ???[/quote]
itu script lo
kata na suruh ngrapiin
dah keluar semua box na skrg
kalo mo masukin add box
sesuaikan dengan misc function lo
jangan asal copas
prepiu na liad fs gw iang tadi
[b]=> dessi[/b]
tar liad dolo
[i]*edited[/i]
ganti pake ini aza des
code dah di update
[spoiler]if (typeof CFNAMES == "undefined") { CFNAMES = {}; }
CFNAMES = {
getData: null,
sibling: null,
init: function() {
CFNAMES.getData = document.createElement("ul");
CFNAMES.getData.setAttribute("class","data");
CFNAMES.getData.innerHTML = "<li><span class=\"q\">[b]YOUR TEXT[/b]</span></li>"+
"<li><span class=\"q\">[b]YOUR TEXT[/b]</span></li>"+
"<li><span class=\"q\">[b]YOUR TEXT[/b]</span></li>"+
"<li><span class=\"q\">[b]YOUR TEXT[/b]</span></li>"+
"<li><span class=\"q\">[b]YOUR TEXT[/b]</span></li>"+
"<li><span class=\"q\">[b]YOUR TEXT[/b]</span></li>"+
"<li><span class=\"q\">[b]YOUR TEXT[/b]</span>"+
"<a style=\"font-weight: normal;\" href=\"/[b]YOUR TEXT[/b]\">[b]YOUR TEXT[/b]</a></li>";
CFNAMES.sibling = CFNAMES.getElementsByClassName(document.getElementById("content_0"),"ul","data")[0];
CFNAMES.sibling.parentNode.replaceChild(CFNAMES.getData,CFNAMES.sibling);
},
getElementsByClassName: function(oElm,sTag,sClass) {
var elm = [];
if (!oElm)oElm = document;
if (!sTag)sTag = "*";
var els = oElm.getElementsByTagName(sTag) || document.all;
for (var i=0,j=els.length;i<j;i++) {
if (new RegExp(sClass).test(els[i].className))elm.push(els[i]);
}
return elm;
}
};CFNAMES.init();[/spoiler]
kalo mo nambahin tinggal kek gini
[quote]"<li><span class=\"q\">[b]YOUR TEXT[/b]</span></li>"+[/quote]
Last edited by sekya (2008-05-12 03:26:57)