1、將以下代碼加入HEML的<head></head>之間:
<style type="text/css">
body{font: 9pt "宋體"; margintop: 0px ; color: #ffffff; background: #000000}
a.{ font: 9pt "宋體"; cursor: hand; font-size: 9pt ; color: #ffffff; text-decoration: none }
a:active{ font: 9pt "宋體"; cursor: hand; color: #FF0033 }
a.cc:hover{ font: 9pt "宋體"; cursor: hand; color: #FF0033}
.box{ font: 9pt "宋體"; position: absolute; background: #000000 }
</style>
====2、將以下代碼加入到HEML的<body></body>之間:
<table id="itemopen" class="box" style="display:none">
<tr>
<td>彈出菜單</td>
</tr>
<tr>
<td><a href="../../../index.html" class="cc">本站首頁(yè)</a></td>
</tr>
<tr>
<td><a href="../../navigation/newscript.htm" class="cc">最新更新</a></td>
</tr>
<tr>
<td><a href="../../navigation/applet/appletindex.htm" class="cc">夢(mèng)想軟件</a></td>
</tr>
<tr>
<td><a href="www.froasp.cn" class="cc">桌面壁紙</a></td>
</tr>
<tr>
<td><a href="www.froasp.cn" class="cc">更多連接</a></td>
</tr>
<tr>
<td><a href="www.froasp.cn" class="cc">更多連接</a></td>
</tr>
<tr>
<td><a href="www.froasp.cn" class="cc">更多連接</a></td>
</tr>
</table>
</center></div><!-- End of Popup Menu -->
<script language="JavaScript">
document.onclick = popUp
function popUp() {
newX = window.event.x + document.body.scrollLeft
newY = window.event.y + document.body.scrollTop
menu = document.all.itemopen
if ( menu.style.display == ""){
menu.style.display = "none" }
else {
menu.style.display = ""}
menu.style.pixelLeft = newX - 50
menu.style.pixelTop = newY - 50
}
</script>
更多信息請(qǐng)查看IT技術(shù)專欄