怎样解决下拉菜单被下面的js图片覆盖的问题
下拉单代码如下:functionshowmenu(X){document.getElementById(X).style.visibility="visible";}fu...
下拉单代码如下:
function showmenu(X)
{
document.getElementById(X).style.visibility="visible";
}
function hidemenu(X)
{
document.getElementById(X).style.visibility="hidden";
}
<!--菜单-->
<td onMouseOver="showmenu('dxgc')" onMouseOut="hidemenu('dxgc')">
<a href="">学科类别</a>
<table class="menu" id="dxgc" width="120" height="200" cellpadding="0" cellspacing="0">
<tr><td class="menu"><a href="">JavaScript</a></td></tr>
<tr><td class="menu"><a href="">VBScript</a></td></tr>
<tr><td class="menu"><a href="">DHTML</a></td></tr>
<tr><td class="menu"><a href="">ASP</a></td></tr>
<tr><td class="menu"><a href="">ADO</a></td></tr>
</table>
</td>
<!--菜单--> 展开
function showmenu(X)
{
document.getElementById(X).style.visibility="visible";
}
function hidemenu(X)
{
document.getElementById(X).style.visibility="hidden";
}
<!--菜单-->
<td onMouseOver="showmenu('dxgc')" onMouseOut="hidemenu('dxgc')">
<a href="">学科类别</a>
<table class="menu" id="dxgc" width="120" height="200" cellpadding="0" cellspacing="0">
<tr><td class="menu"><a href="">JavaScript</a></td></tr>
<tr><td class="menu"><a href="">VBScript</a></td></tr>
<tr><td class="menu"><a href="">DHTML</a></td></tr>
<tr><td class="menu"><a href="">ASP</a></td></tr>
<tr><td class="menu"><a href="">ADO</a></td></tr>
</table>
</td>
<!--菜单--> 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询