[quote=yondaime4th]untuk semua...
mw nanya nich,,,
ada ga script untu ngubah jumlah comment...
kalo ada blh minta ga...[/quote]
ini kodenya bro
[quote]if (typeof CHOOSECOMM == "undefined") { CHOOSECOMM = {}; }
CHOOSECOMM = {
comm: null,
elements: {
mainid: document.getElementById("content_18"),
maintag: "div",
mainclass: "fitem1wrapper"
},
init: function() {
CHOOSECOMM.comm = CHOOSECOMM.getElementsByClassName(CHOOSECOMM.elements.mainid,CHOOSECOMM.elements.maintag,CHOOSECOMM.elements.mainclass);
for(var x=[b]5[/b];x<CHOOSECOMM.comm.length;x++) {
if(CHOOSECOMM.comm[x]) {
CHOOSECOMM.comm[x].parentNode.removeChild(CHOOSECOMM.comm[x]);
}
}
},
getElementsByClassName: function(oElm,sTag,sClass) {
var elm = [];
if (oElm === null)oElm = document;
if (sTag === null)sTag = "*";
var els = oElm.getElementsByTagName(sTag) || document.all;
for (var j=0,k=els.length;j<k;j++) {
if (new RegExp(sClass).test(els[j].className))elm.push(els[j]);
}
return elm;
}
};CHOOSECOMM.init();[/quote]
ada [b]5[/b] di kode itu kan?
itu jumlah comment yang akan tampil d FS kamu
Silahkan ganti sesuka kamu, tapi max 10 comment ya
[u][b]itu kode js[/b][/u]