[b]ryuuzaki[/b]
ini bro. .
coba dulu ya. .
[quote]/*global rCOMM, document*/
rCOMM = {};
(function () {
rCOMM = {
comm: null,
num: [b]5[/b],
init: function () {
rCOMM.comm = rCOMM.getElementsByClassName(document.getElementById("content_18"), "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();[/quote]
ganti [b]5[/b] sesuai jumlah comment yang mw ditampilkan. .