滾動的超級鏈接。腳本說明:
第一步:把如下代碼加入<head>區(qū)域中
<script LANGUAGE="Javascript">
<!--
var a,b,go,word;
function greenlight(word){
a="網(wǎng)頁特效";
word.style.color="red";
linkSwitch();
}
function linkSwitch(){
clearTimeout(go);
b=a;
a=a.substring(1,100)+a.charAt(0);
esh.innerText=a;
go=setTimeout("linkSwitch()",100);
}
function stp(word){
clearTimeout(go);
esh.innerText="網(wǎng)頁特效";
word.style.color="blue";
}
//-->
</script>
第二步:把如下代碼加入<body>區(qū)域中
<A onmouseover="greenlight(this)"; onmouseout="stp(this)"><span id="esh">網(wǎng)頁特效站點</span></A>