jquery问题鼠标mouseover时间重复触发的问题 5
<liclass="m_focus"><aclass="hide"href="../menu/index.html">DEMOS</a><ul><li><ahref="....
<li class="m_focus"><a class="hide" href="../menu/index.html">DEMOS</a>
<ul>
<li><a href="../menu/zero_dollars.html" title="The zero dollar ads page">zero dollars</a></li>
<li><a href="../menu/embed.html" title="Wrapping text around images">wrapping text</a></li>
<li><a href="../menu/form.html" title="Styling forms">styled form</a></li>
<li><a href="../menu/nodots.html" title="Removing active/focus borders">active focus</a></li>
<li><a href="../menu/shadow_boxing.html" title="Multi-position drop shadow">shadow boxing</a></li>
<li><a href="../menu/old_master.html" title="Image Map for detailed information">image map</a></li>
<li><a href="../menu/bodies.html" title="fun with background images">fun backgrounds</a></li>
<li><a href="../menu/fade_scroll.html" title="fade-out scrolling">fade scrolling</a></li>
<li><a href="../menu/em_images.html" title="em size images compared">em sized images</a></li>
</ul>
</li>
问题是这样的我给'.m_focus'一个鼠标经过的mouseover事件,可是这个时间总是重复出发,就是鼠标如果移动到它的子元素下面比如m_focus下面的ul它就会再触发一次事件,请问怎么解决这个问题呢?财富值不够,还请大家帮帮忙!不胜感激 展开
<ul>
<li><a href="../menu/zero_dollars.html" title="The zero dollar ads page">zero dollars</a></li>
<li><a href="../menu/embed.html" title="Wrapping text around images">wrapping text</a></li>
<li><a href="../menu/form.html" title="Styling forms">styled form</a></li>
<li><a href="../menu/nodots.html" title="Removing active/focus borders">active focus</a></li>
<li><a href="../menu/shadow_boxing.html" title="Multi-position drop shadow">shadow boxing</a></li>
<li><a href="../menu/old_master.html" title="Image Map for detailed information">image map</a></li>
<li><a href="../menu/bodies.html" title="fun with background images">fun backgrounds</a></li>
<li><a href="../menu/fade_scroll.html" title="fade-out scrolling">fade scrolling</a></li>
<li><a href="../menu/em_images.html" title="em size images compared">em sized images</a></li>
</ul>
</li>
问题是这样的我给'.m_focus'一个鼠标经过的mouseover事件,可是这个时间总是重复出发,就是鼠标如果移动到它的子元素下面比如m_focus下面的ul它就会再触发一次事件,请问怎么解决这个问题呢?财富值不够,还请大家帮帮忙!不胜感激 展开
3个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询