JS special effects code--To achieve cool click pop-up menu

Source: Internet
Author: User
Tags visibility

 

<head> <title> Untitled Document </title> <meta http-equiv= "Content-type" content= "text/html; charset=gb2312 "> </head>   <body topmargin=" 0 "leftmargin=" 0 "bgcolor=" #FFFFFF "onclick=" menuhide (); " > <script> document.onmousewheel=function () {  Status=event.wheeldelta;} </script> <meta http-equiv= "Content-type" content= "text/html; charset=gb2312 "> <style> <!--. menuover {background-color: #FFeeee; border:1px solid #FF0000; cursor:hand; }. Menuout {Cursor:hand} td,a {color: #ff0000; font-size:12px; font-family: Song Body; Text-decoration:none}--> </ Style> <script language=javascript> var run=0; var show=0; function Menurow () { show=1;  run=1;  menu.style.pixelTop-=1;  if (menu.style.pixeltop>0)   settimeout (' Menurow (); ', ' 5 ');  else  run=0; function Menushow () { if (!run&&!show)  { menu.style.visibility= ' visible ';   Menup.style.visibility= ' VISible ';  menu.style.pixelTop=200;  menurow (); &NBSP}} function Menuhide () { if (!run&&show)  { menu.style.visibility= ' hidden ';   menup.style.visibility= ' hidden ';   show=0; &NBSP}} </script>    <div style= "Overflow:hidden; left:404px; top:30px; height:200px; width:97px; Z-index:1; Position:absolute; Visibility:hidden; border-left:0px; border-right:0px;    border-top:0px solid; border-bottom:1px solid #FF0000; "id=menup>   <div bgcolor=" #FFFFFF "Id=menu align=center style=" Position:absolute; width:97px; height:    200px; Z-index:1; left:0px; top:200px; Overflow:hidden; Visibility:hidden; background-image:    URL (' images/menu_bg.gif '); Border:1 solid #FF0000 ">   <table width=93 cellpadding=" 0 "cellspacing=" 4 "style=" position:relative; Top:1 ">  <tr>  <td valign=" Middle "align=" center "height=" class=menuout  "  onMouseover=this.classname= ' Menuover '; Onmouseout=this.classname= ' menuout ';    onclick= ' location= ' AboutUs ' "> Web page tao </td>  </tr >  <tr>  <td valign= "Middle" align= "center" height= "class=menuout "   onmouseover= This.classname= ' Menuover '; Onmouseout=this.classname= ' menuout ';    onclick= "location= ' Joinus '" ><a href= "http:// Www.wangqi.com "target=" _blank "title=" website production > website production </a></td>  </tr>  <tr>   <TD valign= "Middle" align= "center" height= "" class=menuout    onmouseover=this.classname= ' menuover '; Onmouseout=this.classname= ' menuout ';    onclick= "location= ' Market '" > website promotion </td>  </tr >  <tr>  <td valign= "Middle" align= "center" height= "class=menuout "   onmouseover= This.classname= ' Menuover '; Onmouseout=this.classname= ' menuout ';    onclick= ' location= ' super ' > Internet Money </td>  </tr>  <tr>  <td valign= "Middle" align= "center" height= "" class=menuout    Onmouseover=this.classname = ' Menuover '; Onmouseout=this.classname= ' menuout ';    onclick= "location= ' domain '" > free space </td>  </tr >  <tr>  <td valign= "Middle" align= "center" height= "class=menuout "   onmouseover= This.classname= ' Menuover '; Onmouseout=this.classname= ' menuout ';    onclick= "location= ' Host '" > Build station Common sense </td>  </tr>       <tr>  <td valign= "Middle" align= "center" height= "" class=menuout    Onmouseover=this.classname= ' Menuover '; Onmouseout=this.classname= ' menuout ';    onclick= "location= ' Service '" > Web effects </td>  </tr >  <tr>  <td valign= "Middle" align= "center" height= "class=menuout "   onmouseover= This.classname= ' Menuover '; Onmouseout=this.classname= ' menuout ';    onclick= "location= ' cooperator '" "> website optimization </td>  </tr>  </table>  </div>  </div> <a onclick= "menushow ();" Style = "Position:absolute; width:97px; height:200px; Z-index:1; left:    0px; Top:0px;cursor:hand; "Alt=menu> Free Tutorials </a>   </body> </html>  

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.