✔ 最佳答案
例子
如果我想
張"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