如何做鼠标放上去就出现一个下拉列表.

2024-12-29 20:19:52
推荐回答(4个)
回答1:


下拉菜单













width="100%" border=1>





height=20>
onmouseover="MM_showHideLayers('Layer1','','show')"
style="Z-INDEX: 1; VISIBILITY: hidden; WIDTH: 103px; POSITION: absolute; HEIGHT: 80px"
onmouseout="MM_showHideLayers('Layer1','','hide','Layer2','','hide','Layer7','','hide','Layer13','','hide','Layer15','','hide')">
border=0>




 

cellPadding=1 width=100 bgColor=#3c79c6
border=1>



onmouseover="navbarOver(this,'#6395D1','#000000');"
onmouseout="navbarOut(this,'#3C79C6','#3C79C6');"
vAlign=bottom borderColor=#3c79c6
bgColor=#3c79c6 height=20> href="http://www.1studio.net/html/example/0055/xtdl_01.htm">[01]
系统登录
onmouseover="navbarOver(this,'#6395D1','#000000');"
onmouseout="navbarOut(this,'#3C79C6','#3C79C6');"
borderColor=#3c79c6 bgColor=#3c79c6 height=20> class=white
href="http://www.1studio.net/html/example/0055/xtdl_02.htm">[02]
主窗口
class=white
onmouseover="MM_showHideLayers('Layer1','','show')"
onmouseout="MM_showHideLayers('Layer1','','hide','Layer2','','hide','Layer7','','hide','Layer13','','hide','Layer15','','hide')"> 系统登录

onmouseover="MM_showHideLayers('Layer1','','hide','Layer2','','show','Layer7','','hide','Layer13','','hide','Layer15','','hide')"
style="Z-INDEX: 1; VISIBILITY: hidden; WIDTH: 141px; POSITION: absolute; HEIGHT: 80px"
onmouseout="MM_showHideLayers('Layer1','','hide','Layer2','','hide','Layer7','','hide','Layer13','','hide','Layer15','','hide')">
border=0>





 


cellPadding=1 width=122 bgColor=#3c79c6
border=0>







onmouseover="navbarOver(this,'#6395D1','#000000');"
onmouseout="navbarOut(this,'#3C79C6','#3C79C6');"
vAlign=bottom borderColor=#3c79c6
bgColor=#3c79c6 height=20> onmouseover="MM_showHideLayers('Layer3','','show')"
onmouseout="MM_showHideLayers('Layer3','','hide')">[01]
系统定义 ->
onmouseover="MM_showHideLayers('Layer2','','show','Layer3','','show')"
style="Z-INDEX: 2; VISIBILITY: hidden; WIDTH: 159px; POSITION: absolute; HEIGHT: 75px"
onmouseout="MM_showHideLayers('Layer2','','hide','Layer3','','hide')">
border=0>



 
cellPadding=1 width=130 bgColor=#3c79c6 border=1>





onmouseover="navbarOver(this,'#6395D1','#000000');"
onmouseout="navbarOut(this,'#3C79C6','#3C79C6');"
vAlign=bottom borderColor=#3c79c6
bgColor=#3c79c6 height=20>
[01]
部门定义
onmouseover="navbarOver(this,'#6395D1','#000000');"
onmouseout="navbarOut(this,'#3C79C6','#3C79C6');"
borderColor=#3c79c6 bgColor=#3c79c6 height=20>
[02]
币种定义

onmouseover="navbarOver(this,'#6395D1','#000000');"
onmouseout="navbarOut(this,'#3C79C6','#3C79C6');"
borderColor=#3c79c6 bgColor=#3c79c6 height=20> onmouseover="MM_showHideLayers('Layer4','','show')"
onmouseout="MM_showHideLayers('Layer4','','hide')">[02]
供应商管理 width=4 border=0>
onmouseover="MM_showHideLayers('Layer2','','show','Layer4','','show')"
style="Z-INDEX: 2; VISIBILITY: hidden; WIDTH: 149px; POSITION: absolute"
onmouseout="MM_showHideLayers('Layer2','','hide','Layer4','','hide')">
border=0>



 
cellPadding=1 width=130 bgColor=#3c79c6 border=1>


onmouseover="navbarOver(this,'#6395D1','#000000');"
onmouseout="navbarOut(this,'#3C79C6','#3C79C6');"
vAlign=bottom borderColor=#3c79c6
bgColor=#3c79c6 height=20> href="http://www.1studio.net/html/example/0055/xtgl_gysgl_01.htm">[01]
供应商登记
onmouseover="navbarOver(this,'#6395D1','#000000');"
onmouseout="navbarOut(this,'#3C79C6','#3C79C6');"
borderColor=#3c79c6 bgColor=#3c79c6 height=20> onmouseover="MM_showHideLayers('Layer5','','show')"
onmouseout="MM_showHideLayers('Layer5','','hide')">[03]
商品管理 width=4 border=0>
onmouseover="MM_showHideLayers('Layer2','','show','Layer5','','show')"
style="Z-INDEX: 2; VISIBILITY: hidden; WIDTH: 149px; POSITION: absolute; HEIGHT: 75px"
onmouseout="MM_showHideLayers('Layer2','','hide','Layer5','','hide')">
border=0>



 
cellPadding=1 width=130 bgColor=#3c79c6
border=1>





onmouseover="navbarOver(this,'#6395D1','#000000');"
onmouseout="navbarOut(this,'#3C79C6','#3C79C6');"
vAlign=bottom borderColor=#3c79c6
bgColor=#3c79c6 height=20> href="http://www.1studio.net/html/example/0055/xtgl_spgl_01.htm">[01]
商品分类管理
onmouseover="navbarOver(this,'#6395D1','#000000');"
onmouseout="navbarOut(this,'#3C79C6','#3C79C6');"
borderColor=#3c79c6 bgColor=#3c79c6 height=20> class=white
href="http://www.1studio.net/html/example/0055/xtgl_spgl_02.htm">[02]
新商品登记
onmouseover="navbarOver(this,'#6395D1','#000000');"
onmouseout="navbarOut(this,'#3C79C6','#3C79C6');"
borderColor=#3c79c6 bgColor=#3c79c6 height=20> onmouseover="MM_showHideLayers('Layer6','','show')"
onmouseout="MM_showHideLayers('Layer6','','hide')">[04]
数据处理 width=4 border=0>
style="Z-INDEX: 2; VISIBILITY: hidden; WIDTH: 149px; POSITION: absolute; HEIGHT: 75px"
onmouseout="MM_showHideLayers('Layer2','','hide','Layer6','','hide')">
border=0>



 
cellPadding=1 width=130 bgColor=#3c79c6
border=1>






onmouseover="navbarOver(this,'#6395D1','#000000');"
onmouseout="navbarOut(this,'#3C79C6','#3C79C6');"
vAlign=bottom borderColor=#3c79c6
bgColor=#3c79c6 height=20> href="http://www.1studio.net/html/example/0055/xtgl_sjcl_01.htm">[01]
数据备份
onmouseover="navbarOver(this,'#6395D1','#000000');"
onmouseout="navbarOut(this,'#3C79C6','#3C79C6');"
borderColor=#3c79c6 bgColor=#3c79c6 height=20> class=white
href="http://www.1studio.net/html/example/0055/xtgl_sjcl_02.htm">[02]
日终登记
onmouseover="navbarOver(this,'#6395D1','#000000');"
onmouseout="navbarOut(this,'#3C79C6','#3C79C6');"
borderColor=#3c79c6 bgColor=#3c79c6 height=20> class=white
href="http://www.1studio.net/html/example/0055/xtgl_sjcl_03.htm">[03]
日终处理
class=white
onmouseover="MM_showHideLayers('Layer1','','hide','Layer2','','show','Layer7','','hide','Layer13','','hide','Layer15','','hide')"
onmouseout="MM_showHideLayers('Layer1','','hide','Layer2','','hide','Layer7','','hide','Layer13','','hide','Layer15','','hide')"> 系统管理
















回答2:

在Dreamwear中有一个插件可以做
在行为面板中(就是右边有一个小三角,点一下那个就可以了)有一个标签选项卡
标签/行为/(有一个+号)/显示弹出式菜单(你在那里边设置一下就可以了)

不过你首先设一个空的链接才可以做以上步骤

回答3:

去网站上查一套这样的程序,整个复制过来就可以了!有很多网站都有这样的程序。

回答4:

以下拉列表类为基类,
将下拉响应将MOUSE_CHICK 改为 MOUSE_MOVE