标题 | 左键弹出式菜单 |
内容 | 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"> <tr> <td>弹出菜单</td> </tr> <tr> <td><a href="../../../index.html">本站首页</a></td> </tr> <tr> <td><a href="../../navigation/newscript.htm">最新更新</a></td> </tr> <tr> <td><a href="../../navigation/applet/appletindex.htm">梦想软件</a></td> </tr> <tr> <td><a href="www.froasp.cn">桌面壁纸</a></td> </tr> <tr> <td><a href="www.froasp.cn">更多连接</a></td> </tr> <tr> <td><a href="www.froasp.cn">更多连接</a></td> </tr> <tr> <td><a href="www.froasp.cn">更多连接</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> |
随便看 |
|
在线学习网考试资料包含高考、自考、专升本考试、人事考试、公务员考试、大学生村官考试、特岗教师招聘考试、事业单位招聘考试、企业人才招聘、银行招聘、教师招聘、农村信用社招聘、各类资格证书考试等各类考试资料。