Drop down Menu Effect code

Source: Internet
Author: User
Tip: You can modify some of the code before running

<p><ptml><br/> <title>s11</title><br/> <pead><br/> <style> <br/> <!--<br/> #style1 <br/> {position:relative;<br/>  height:30px<br/>}< br/> #style2 <br/> {position:absolute<br/>}<br/> #menu03 <br/> {Filter:revealtrans ( duration=0.2,transition=12) <br/>  visibility:hide<br/>}<br/> A:link<br/> {color:red; Text-decoration:none;} <br/> a:visited<br/> {color:red;text-decoration:none;} <br/> a:hover<br/> {color: #6365FF; text-decoration:underline;} </p> <p><br/>--><br/> </style><br/> </pead><br/> <body> <br/> <span id= "style1" ><br/> <span "id=" Style2 "onclick=" dropit2 () event.cancelbubble=true; return false "><br/> <font face=" song Body size=2><a href= "#" > click here </a></font><br/> </span><br/> </span><br/> <script language=javascript><br/> <!--<br/> var enableeffect= True<br/> var selection=new Array () <br/> selection[0]= ' <font face= ' XXFarEastFont-Arial size=2><a href= ' a1.htm ' > Home </a></font><br> ' <br/> selection[1]= ' <font face= ' song body ' size=2><a href= ' a2.htm ' > Download Center </a></font><br> ' <br/> selection[2]= ' <font face= ' song body "Size=2><a href=" A3.htm "> Online money </a></font><br> ' <br/> selection[3]= ' <font face= ' Arial ' size=2><a href = "a4.htm" > Technology Center </a></font><br> ' <br/> selection[4]= ' <font face= ' song body ' Size=2><a href= "a5.htm" > Competitive storm </a></font><br> ' <br/> selection[5]= ' <font face= ' song body ' size=2> <a href= "a6.htm" > Links </a></font><br> ' <br/> selection[6]= ' <font face= ' song body ' size=2 ><a href= "a7.htm" > Entertainment center </a></font><br> ' <br/> Selection[7]= ' <font face= ' size=2><a href= "a8.htm" > Free resources </a></font><br> ' </p> <p> function dropit2 () <br/> {if (document.all) <br/>  {menu03.style.left=document.body.scrollleft+ Event.clientx-event.offsetx<br/>   menu03.style.top=document.body.scrolltop+ Event.clienty-event.offsety+18<br/>   if (menu03.style.visibility== "hidden") <br/>   {if ( Enableeffect) <br/>    menu03.filters.revealTrans.apply () <br/>    menu03.style.visibility= "visible" <br/>    if (enableeffect) <br/>    Menu03.filters.revealTrans.play () <br/>  }<br/> else<br/> {hidemenu () <br/>}<br/ >}<br/>}<br/> function dropit (e) <br/> {<br/>  if (document.menu03.visibility== "Hide ") <br/>   document.menu03.visibility=" show "<br/> else<br/>   document.menu03.visibility = "Hide" <br/> &nbsP document.menu03.left=e.pagex-e.layerx<br/>   document.menu03.top=e.pagey-e.layery+19<br/>   return false<br/>}<br/> Function hidemenu () <br/> {<br/>  if (enableeffect) <br/> &N Bsp;menu03.filters.revealtrans.stop () <br/>  menu03.style.visibility= "hidden" <br/>}<br/> function hidemenu2 () <br/> {<br/>  document.menu03.visibility= "Hide" <br/>}<br if ( document.all) <br/> document.body.onclick=hidemenu</p> <p>//--><br/> </script> <br/> <div id= "menu03" style=; background-color:seashell;width:100;visibility:hidden;border:1px solid black;padding:0px "><br/> < Script language= "javascript1.2" ><br/> if (document.all) <br/> menu03.style.padding= ' 6px ' <br/> for (i=0;i<selection.length;i++) <br/> document.write (selection[i)) <br/> </script><br/> </div><br/> </body><br/> </ptml></p>
Tip: You can modify some of the code before running

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.