xanga next的語法

2007-06-15 1:34 am
http://www.xanga.com/CANDYFRIENDS

請問有冇人知呢個xanga個next個到隻兔仔語法係咩??
呢個xanga我都係網見到的,thx

回答 (1)

2007-06-15 2:59 am
✔ 最佳答案
先登入,到Edit→Look & Feel→Web Stats,在空白的地方輸入以下程式碼再儲存即可:

<script language="javascript">
<!--
var links = document.getElementsByTagName ('a');
for (var l = 0; l < links.length; l++) {
str = links[l].innerHTML;
if (str.match (/d+:d+ (am|pm)/i)) links[l]
else if (str.match (/next 2/i)) links[l].innerHTML = str.replace (/next 2/i, "<img src='http://x07.xanga.com/da40743024533127423359/x43681367.gif' border=0>");
else if (str.match (/previous 2/i)) links[l].innerHTML = str.replace (/previous 2/i, "<img src='http://x07.xanga.com/da40743024533127423359/m43681367.gif' border=0>");
}//-->
</script>

2007-06-16 02:27:28 補充:
你要將上面既全形引號<>變為半形引號<>...

2007-06-16 20:40:10 補充:
同埋將上面既next 2變為next 5,previous 2變為previous 5!(本人已證實可行...)

2007-06-16 23:03:48 補充:
如果你唔明,可以去下載已修正好既程式碼:http://hk.geocities.com/all.resources/Script.txt
參考: Me


收錄日期: 2021-04-13 17:33:54
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20070614000051KK03022

檢視 Wayback Machine 備份