✔ 最佳答案
1~~
.設定顯示日記篇數
<!-- begin code provided by kkx3.com -->
<script>
numberOfEntries = 3; //Change this value here...
if(location.pathname=='/kkxhk'){
var tds = document.getElementsByTagName ('a');
for (var i = 0; i < tds.length; i++) {
timeString = tds[i].innerText;
if(timeString.match(/\d+:\d+ [ap]m\b/i)){break;}
}
stuff = tds[i].parentNode.parentNode.parentNode.parentNode.parentNode;
for(j=1;j<numberOfEntries;j++){
stuff=stuff.nextSibling.nextSibling.nextSibling
if(stuff.tagName=='BR'){
stuff=stuff.previousSibling;
}
}
for(i=0;i<20;i++){
if(stuff.tagName=='HR' && stuff.nextSibling.tagName=='TABLE')
{
stuff.nextSibling.removeNode(true);
break;
}
stuff = stuff.nextSibling;
stuff.style.display='none';
}}
</script>
<!-- end code provided by kkx3.com -->
紅色字自己改返 ..3係SHOW幾多篇日記 ..
kkxhk係個ID,記得改,放在website stat
2~次過private/show晒所有日記(NEW)
唔該大家睇清楚d段code先好用
另外,code係由cychoi所寫,如果有任何問題,歡迎電郵通知
[email protected]
當private晒所有post之後,個code就會停止運作
介時請到look and feel內將呢段code個設定改做 3。
(越多日記,private所需要既時間就越長)
http://kkx3.net/xanga/xindex.htm