请问网页中的下拉菜单代码怎么写啊?
2个回答
展开全部
<SCRIPT language=javascript><!-- function out() { if(window.event.toElement.id!="menu" && window.event.toElement.id!="link") menu.style.visibility="hidden"; } //--> function out1() { if(window.event.toElement.id!="menu1" && window.event.toElement.id!="link") menu1.style.visibility="hidden"; } //--> </SCRIPT> <body> <div id="back" onmouseout="out()"style="position:absolute;top:225;left:250;width:160;height:40;z-index:1;visibility:visible;"> <span id="menubar" onmouseover="menu.style.visibility='visible'"> <font color=red size=2>菜单一</span> <div border=1 id="menu" style="position:absolute;top:15;left:0;width:75;height:10;z-index:2;visibility:hidden;"> <a id="link" href="LINK1.htm">LINK1</a> <a id="link" href="LINK2.htm">LINK2</a> <a id="link" href="LINK3.htm">LINK3</a> <a id="link" href="LINK4.htm">LINK4</a> <a id="link" href="LINK5.htm">LINK5</a> <a id="link" href="LINK6.htm">LINK6</a> </div> </div> <div id="back" onmouseout="out1()"style="position:absolute;top:225;left:330;width:160;height:40;z-index:3;visibility:visible;"> <span id="menubar" onmouseover="menu1.style.visibility='visible'"> <font color=red size=2>菜单二</span> <div border=1 id="menu1" style="position:absolute;top:15;left:0;width:50;height:10;z-index:4;visibility:hidden;"> <a id="link" href="LINK1.htm">LINK1</a> <a id="link" href="LINK2.htm">LINK2</a> <a id="link" href="LINK3.htm">LINK3</a> <a id="link" href="LINK4.htm">LINK4</a> <a id="link" href="LINK5.htm">LINK5</a> <a id="link" href="LINK6.htm">LINK6</a> </div> </div> </div>
展开全部
去下载一个 叫 123 Flash Menu 这个软件专门做菜单的 http://www.skycn.com/soft/23555.html
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询