xanga 問題

2007-06-16 9:50 pm
怎麼把XG里的eporp和comments換成別的字,
幫幫我...
能直接告訴我嗎?

回答 (2)

2007-06-18 7:50 pm
✔ 最佳答案
例子
如果我想
張"add comments" 改做 "俾d意見",
張"email it" 改做 "寄俾我",
張"eprops" 改做 一張圖
圖片參考:http://kkx3.net/xanga/e.gif
(http://kkx3.net/xanga/e.gif)

段code就係:

<!-- [start] code provided by kkx3.com -->
<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 (/add comments/i)) links[l].innerHTML = str.replace (/add comments/i, "俾d意見");
else if (str.match (/email it/i)) links[l].innerHTML = str.replace (/email it/i, "俾寄我");
else if (str.match (/eprops/i)) links[l].innerHTML = str.replace (/eprops/i, "<img src='http://kkx3.net/xanga/e.gif' border='0'>");
}//-->
</script>
<!-- [end] code provided by kkx3.com -->

例子:
http://www.xanga.com/kkx3au
2007-06-16 10:02 pm
要用code.呢到擺唔到code..唔知點比你
1係你e-mail我.
[email protected]
參考: myself


收錄日期: 2021-04-13 15:52:08
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20070616000051KK02146

檢視 Wayback Machine 備份