熱點推薦:
您现在的位置: 電腦知識網 >> 編程 >> Java編程 >> JSP教程 >> 正文

JS特效代碼--實現cool的點擊式彈出菜單

2013-11-15 12:17:33  來源: JSP教程 

  <html>

<head> <title>無標題文檔</title> <meta httpequiv="ContentType" content="text/html; charset=gb"> </head>   <body topmargin="" leftmargin="" bgcolor="#FFFFFF" onclick="menuHide();"> <script> documentonmousewheel=function() {   status=eventwheelDelta; } </script> <meta httpequiv="ContentType" content="text/html; charset=gb"> <style> <! menuover { backgroundcolor: #FFeeee; border: px solid #FF; cursor: hand; } menuout { cursor: hand; } tda { color: #ff; fontsize: px; fontfamily: 宋體; textdecoration: none } > </style> <script language=javascript> var run=; var show=; function menuRow() {  show=;  run=;  menustylepixelTop=;  if(menustylepixelTop>)   setTimeout(menuRow(););  else  run=; } function menuShow() {  if(!run&&!show)  {  menustylevisibility=visible;   menupstylevisibility=visible;  menustylepixelTop=;  menuRow();  } } function menuHide() {  if(!run&&show)  {  menustylevisibility=hidden;   menupstylevisibility=hidden;   show=;  } } </script>    <div style="overflow: hidden; left:px; top:px; height:px; width:px; zindex:; position:absolute; visibility:hidden; borderleft: px; borderright: px;    bordertop: px solid; borderbottom: px solid #FF; " id=menup>   <div bgcolor="#FFFFFF" id=menu align=center style="position: absolute; width: px; height:    px; zindex: ; left: px; top: px; overflow: hidden; visibility: hidden; backgroundimage:    url(images/menu_bggif); border: solid #FF">   <table width= cellpadding="" cellspacing="" style="position: relative; top: ">  <tr>  <td valign="middle" align="center" height="" class=menuout    onmouseover=thisclassName=menuover; onmouseout=thisclassName=menuout;    onclick="location=aboutus">網頁陶吧</td>  </tr>  <tr>  <td valign="middle" align="center" height="" class=menuout    onmouseover=thisclassName=menuover; onmouseout=thisclassName=menuout;    onclick="location=joinus"><a href="網站制作">網站制作</a></td>  </tr>  <tr>  <td valign="middle" align="center" height="" class=menuout    onmouseover=thisclassName=menuover; onmouseout=thisclassName=menuout;    onclick="location=market">網站推廣</td>  </tr>  <tr>  <td valign="middle" align="center" height="" class=menuout    onmouseover=thisclassName=menuover; onmouseout=thisclassName=menuout;    onclick="location=super">網絡賺錢</td>  </tr>  <tr>  <td valign="middle" align="center" height="" class=menuout    onmouseover=thisclassName=menuover; onmouseout=thisclassName=menuout;    onclick="location=domain">免費空間</td>  </tr>  <tr>  <td valign="middle" align="center" height="" class=menuout    onmouseover=thisclassName=menuover; onmouseout=thisclassName=menuout;    onclick="location=host">建站常識</td>  </tr>       <tr>  <td valign="middle" align="center" height="" class=menuout    onmouseover=thisclassName=menuover; onmouseout=thisclassName=menuout;    onclick="location=service">網頁特效</td>  </tr>  <tr>  <td valign="middle" align="center" height="" class=menuout    onmouseover=thisclassName=menuover; onmouseout=thisclassName=menuout;    onclick="location=cooperator">網站優化</td>  </tr>  </table>  </div>  </div> <a onclick="menuShow();" style="position: absolute; width: px; height: px; zindex: ; left:    px; top: px;cursor:hand; " alt=Menu>免費教程</a>   </body> </html>  
From:http://tw.wingwit.com/Article/program/Java/JSP/201311/20659.html
    推薦文章
    Copyright © 2005-2013 電腦知識網 Computer Knowledge   All rights reserved.