[b]LanNyx[/b] jadinya gini sob
[quote]addBox("LEFT","<a href=\"#\" onClick=\"show_hide('content_wvmcbox'); return false\"><div title=\"header=[ BOX ] body=[ Sekedar Info Buat "+pageViewerFName+" ] \">my WVMCBOX</div></a>","<div id=\""+seeboks+"\" align=\"center\">"+WVMCBOX.div+"</div>","wvmcbox",null);
show_hide('content_wvmcbox');[/quote]
[b]all[/b] ni [spoiler]rCOMM = {};
(function () {
rCOMM = {
comm: null,
num: 3,
init: function () {
rCOMM.comm = rCOMM.getElementsByClassName(document.getElementById("[b]content_18[/b]"), "div", /fitem1wrapper/i);
for (var x = rCOMM.num, y = rCOMM.comm.length; x < y; x += 1) {
if (rCOMM.comm[x]) {
rCOMM.comm[x].parentNode.removeChild(rCOMM.comm[x]);
}
}
},
getElementsByClassName: function (oElm, sTag, sClass) {
var elm = [];
if (!oElm) {
oElm = document;
}
if (!sTag) {
sTag = "*";
}
var els = oElm.getElementsByTagName(sTag) || document.all;
for (var j = 0, k = els.length; j < k; j += 1) {
if (new RegExp(sClass).test(els[j].className)) {
elm.push(els[j]);
}
}
return elm;
}
};
})();
rCOMM.init();
[/spoiler]
tu kode buat apa y?
Last edited by teguh0203 (2008-07-15 10:26:36)