时间:2021-07-01 10:21:17 帮助过:26人阅读
- <meta http-equiv="content-type" content="text/html;charset=utf-8"> <title> js test </title>
- 按钮
- <span class="second_mune" style="display:none">内容</span>
感觉加个容器比较好
- <span> 按钮 <span class="second_mune" style="display:none">内容</span></span>
- $('.mune_1').hover(function(){ $(this).parent().hover(function(){ $('.second_mune').show(); },function(){ $('.second_mune').hide(); }) })
三楼的 加个parent(),鼠标移到其它a标签上也会显示层了,怎么解决??
不错学习一下
2楼的是可以
不知道!
我只能满足你已提出的要求
无法预测你还会做什么
好的 还是要谢谢