?? 10-15.htm
字號:
<style>
.BorderOn { width:90px;
margin-left:10px;
border:1px solid #456789 }
.BorderOff { width:90px;
margin-left:0px;
border:1px solid #444444 }
A.mBlue:link {color:#00CCFF; text-decoration:none;}
A.mBlue:visited {color:#00CCFF; text-decoration:none;}
A.mBlue:active {color:#00CCFF; text-decoration:none;}
A.mBlue:hover {color:#FF0000; text-decoration:underline;}
A.mGreen:link {color:#00FF80; text-decoration:none;}
A.mGreen:visited {color:#00FF80; text-decoration:none;}
A.mGreen:active {color:#00FF80; text-decoration:none;}
A.mGreen:hover {color:#FF0000; text-decoration:underline;}
A.mYellow:link {color:#FFFF00; text-decoration:none;}
A.mYellow:visited {color:#FFFF00; text-decoration:none;}
A.mYellow:active {color:#FFFF00; text-decoration:none;}
A.mYellow:hover {color:#FF0000; text-decoration:underline;}
</style>
</head>
<body>
<script language="JavaScript">
offMessage = "歡迎來到本站<br>這里提供免費下載!"<!--鼠標離開時的顯示信息-->
function boxOn(which,message) {<!--打開導航菜單-->
if (document.all||document.getElementById) {
which.className = 'BorderOn';<!--將當前對象打開-->
if (document.getElementById) {
document.getElementById("Message").innerHTML = message<!--同時設置提示窗口的文字顯示-->
}
else {
Message.innerHTML = message;<!--同時設置提示窗口的文字顯示-->
}
}
}
function boxOff(which) {<!--離開導航菜單-->
if (document.all||document.getElementById) {
which.className = 'BorderOff';<!--將當前對象關閉-->
if (document.getElementById) {
document.getElementById("Message").innerHTML = offMessage<!--同時設置提示窗口的文字顯示-->
}
else {
Message.innerHTML = offMessage;<!--同時設置提示窗口的文字顯示-->
}
}
}
</script>
<table cellpadding="0" cellspacing="0" width="100"><tr><td align="center">
<table cellpadding="3" cellspacing="0" bgcolor="#FFCC66" class="BorderOff">
<tr><td><p align="center"><font color="#808080" size="2">首頁導航</font></p></td></tr></table>
<table cellpadding="3" cellspacing="0" class="BorderOff" onMouseover="boxOn(this,'周杰倫<br>周華健<br>游鴻明<br>陶喆<br>梁靜茹<br>S.H.E.')" onMouseout="boxOff(this)"><tr><td>
<p align="center">
<a class="mBlue" href="#" target="_blank">
<font color="#808080" size="2">音樂下載</font></a></p>
</td></tr></table>
<table cellpadding="3" cellspacing="0" class="BorderOff" onMouseover="boxOn(this,'魔獸爭霸<br>CS<br>實況足球9<br>NBA 2005')" onMouseout="boxOff(this)"><tr><td>
<p align="center">
<a class="mBlue" href="#" target="_blank">
<font color="#808080" size="2">游戲下載</font></a></p>
</td></tr></table>
<table cellpadding="1" cellspacing="0" bgcolor="#444444" width="90"><tr><td>
<table cellpadding="3" cellspacing="0" bgcolor="#FFCC66" width="88" height="100"><tr><td align="left" valign="top">
<font id="Message" size="2" color="#808080">歡迎來到本站<br>這里提供免費下載!</font>
</td></tr></table></td></tr></table></td></tr></table>
<!--本例程實現了首頁導航菜單-->
<!--統一格式的定制-->
<!--對菜單的顯示進行控制-->
<!--對鼠標的事件進行響應-->
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -