?? ch15-228.txt
字號:
<HTML>
<HEAD>
<TITLE>頁面導航篇--滾動導航鏈接</TITLE>
</HEAD>
<BODY bgcolor="#fef4d2" >
<br><br>
<center>
<font color="ffaafa"><h2>頁面導航篇--滾動導航鏈接</h2></font>
<hr width=300>
<br><br>
<!-- 案例代碼開始 -->
<script language=JavaScript>
var a,b,go,word;
function Start(word){
<!-- [Step1]: 這里可以設置導航鏈接的滾動信息 -->
a="頁面導航篇----滾動導航鏈接";
word.style.color="#660033";
linkSwitch();
}
function linkSwitch(){
clearTimeout(go);
b=a;
a=a.substring(1,100)+a.charAt(0);
esh.innerText=a;
go=setTimeout("linkSwitch()",100);
}
function Stop(word){
clearTimeout(go);
esh.innerText="滾動導航鏈接";
word.style.color="blue";
}
</script>
<!-- [Step2]: 在此能夠更改導航鏈接對應的網址 -->
<a href="http://www.263.net.cn" onmouseout=Stop(this) onmouseover=Start(this) ;><SPAN id=esh>滾動導航鏈接</SPAN></a>
<!-- 案例代碼結束 -->
</BODY>
</HTML>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -