纯css下拉菜单被js焦点图挡住了怎么办啊?菜单和焦点图都放在div里
<divclass="menu"><ul><li><aclass="hide"href="../menu/index.html">DEMOS</a><!--[iflteI...
<div class="menu">
<ul>
<li><a class="hide" href="../menu/index.html">DEMOS</a>
<!--[if lte IE 6]>
<a href="../menu/index.html">DEMOS
<table><tr><td>
<![endif]-->
<ul>
<li><a href="#">zero dollars</a></li>
<li><a href="#">wrapping text</a></li>
<li><a href="#">styled form</a></li>
<li><a href="#">active focus</a></li>
</ul>
<!--[if lte IE 6]>
</td></tr></table>
</a>
<![endif]-->
</li>
<li><a class="hide" href="index.html">MENUS</a>
<!--[if lte IE 6]>
<a href="index.html">MENUS
<table><tr><td>
<![endif]-->
<ul>
<li><a href="#">zero dollars</a></li>
<li><a href="#">wrapping text</a></li>
<li><a href="#">styled form</a></li>
<li><a href="#">active focus</a></li>
</ul>
<!--[if lte IE 6]>
</td></tr></table>
</a>
<![endif]-->
</li>
</ul>
js焦点图代码:
<div class="fpic">
<a id=foclnk href="#">
<img id=focpic style="filter: revealtrans ( duration = 1,transition=12 ); visibility: visible; position: absolute;" height="245" src="images/01.jpg" width="342"></a>
<div id=fttlbg></div>
<div id=fttltxt><a href="#">标题零</a></div>
<div class=thubpiccur id="tmb0"onmouseover=setfoc(0); onmouseout=playit();><a href="#"><img src="images/01.jpg"></a></div>
<div class=thubpic id="tmb1" onmouseover=setfoc(1); onmouseout=playit();><a href="#"><img src="images/02.jpg"></a></div>
<div class=thubpic id="tmb2" onmouseover=setfoc(2); onmouseout=playit();><a href="#"><img src="images/03.jpg"></a></div>
<div class=thubpic id="tmb3" onmouseover=setfoc(3); onmouseout=playit();><a href="#"><img src="images/04.jpg"></a></div>
</div>
<script language=javascript type=text/javascript>
var picarry = {};
var lnkarry = {};
var ttlarry = {};
picarry[0] = "images/01.jpg";
lnkarry[0] = "http://www.lanrentuku.com/";
ttlarry[0] = "懒人图库 标题1";
picarry[1] = "images/02.jpg";
lnkarry[1] = "http://www.lanrentuku.com/";
ttlarry[1] = "懒人图库 标题2";
picarry[2] = "images/03.jpg";
lnkarry[2] = "http://www.lanrentuku.com/";
ttlarry[2] = "懒人图库 标题3";
picarry[3] = "images/04.jpg";
lnkarry[3] = "http://www.lanrentuku.com/";
ttlarry[3] = "懒人图库 标题4";
</script> 展开
<ul>
<li><a class="hide" href="../menu/index.html">DEMOS</a>
<!--[if lte IE 6]>
<a href="../menu/index.html">DEMOS
<table><tr><td>
<![endif]-->
<ul>
<li><a href="#">zero dollars</a></li>
<li><a href="#">wrapping text</a></li>
<li><a href="#">styled form</a></li>
<li><a href="#">active focus</a></li>
</ul>
<!--[if lte IE 6]>
</td></tr></table>
</a>
<![endif]-->
</li>
<li><a class="hide" href="index.html">MENUS</a>
<!--[if lte IE 6]>
<a href="index.html">MENUS
<table><tr><td>
<![endif]-->
<ul>
<li><a href="#">zero dollars</a></li>
<li><a href="#">wrapping text</a></li>
<li><a href="#">styled form</a></li>
<li><a href="#">active focus</a></li>
</ul>
<!--[if lte IE 6]>
</td></tr></table>
</a>
<![endif]-->
</li>
</ul>
js焦点图代码:
<div class="fpic">
<a id=foclnk href="#">
<img id=focpic style="filter: revealtrans ( duration = 1,transition=12 ); visibility: visible; position: absolute;" height="245" src="images/01.jpg" width="342"></a>
<div id=fttlbg></div>
<div id=fttltxt><a href="#">标题零</a></div>
<div class=thubpiccur id="tmb0"onmouseover=setfoc(0); onmouseout=playit();><a href="#"><img src="images/01.jpg"></a></div>
<div class=thubpic id="tmb1" onmouseover=setfoc(1); onmouseout=playit();><a href="#"><img src="images/02.jpg"></a></div>
<div class=thubpic id="tmb2" onmouseover=setfoc(2); onmouseout=playit();><a href="#"><img src="images/03.jpg"></a></div>
<div class=thubpic id="tmb3" onmouseover=setfoc(3); onmouseout=playit();><a href="#"><img src="images/04.jpg"></a></div>
</div>
<script language=javascript type=text/javascript>
var picarry = {};
var lnkarry = {};
var ttlarry = {};
picarry[0] = "images/01.jpg";
lnkarry[0] = "http://www.lanrentuku.com/";
ttlarry[0] = "懒人图库 标题1";
picarry[1] = "images/02.jpg";
lnkarry[1] = "http://www.lanrentuku.com/";
ttlarry[1] = "懒人图库 标题2";
picarry[2] = "images/03.jpg";
lnkarry[2] = "http://www.lanrentuku.com/";
ttlarry[2] = "懒人图库 标题3";
picarry[3] = "images/04.jpg";
lnkarry[3] = "http://www.lanrentuku.com/";
ttlarry[3] = "懒人图库 标题4";
</script> 展开
3个回答
展开全部
加样式:.menu{position:relative; z-index:100;}
.fpic{position:relative; z-index:10;}
.fpic{position:relative; z-index:10;}
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
TableDI
2024-07-18 广告
2024-07-18 广告
Excel合并表格插件是一种高效的工具,能够帮助用户快速合并多个Excel表格。这类插件通常具备两大功能:多薄合并和多表合并。多薄合并能将文件夹内的多个工作簿合并到一个新的工作簿中,而多表合并则可以将一个工作簿内的多个工作表合并到一个汇总表...
点击进入详情页
本回答由TableDI提供
展开全部
给菜单的那个DIV一个z-index属性,z-index:100;
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
用z-index属性来解决,并给底部的焦点图加个透明滤镜试试
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询