2008-03-02 04:41:53

Shiseiten
» FTalkAddict
FTalk Level: zero
544
0
1969-12-31

Re: [align=justify][b]bagi member yang ingin bertanya seputar tweaking FS, silahkan bertanya dan posting disini, tapi jangan lupa,,sebelum itu tolong [url=http://theftalk.com/t2744-%5BImportant%5D-

[quote=yondaime4th]untuk semua...:D:D mw nanya nich,,,:question::question: ada ga script untu ngubah jumlah comment... kalo ada blh minta ga...[/quote] :D:D:D:D:D 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] ;)

Board footer

© 2024 F Talk

Current time is 15:29

[ 12 queries - 0.953 second ]
Privacy Policy