沒有得到div_tech div滑落時鼠標移過一個元素與id =「non_tech」這是另一個div滑過鼠標在「事件」
相關HTML代碼我沒有得到我的jquery菜單滑落在下面的代碼
<div class="events">
<img src="arrow.png" alt="arrow" class="img_arw" />
<table class="tab_evnts">
<tr>
<td class="eve_mentd" id="tech">
<a href="#">
<span class="eve_men">Technical</span>
</a>
</td>
</tr>
<tr>
<td class="eve_mentd" id="non_tech">
<a href="#">
<span class="eve_men">Non- Technical</span>
</a>
</td>
</tr>
<tr>
<td class="eve_mentd" id="gamers">
<a href="#">
<span class="eve_men">Gamer's Inn</span>
</a>
</td>
</tr>
</table>
<div class="tech_div">
</div>
</div>
<table >
<tr>
<td class="menu"><a href="#" title="Home">Home</a></td>
<td class="menu"><a href="#" id="eves">Events</a></td>
<td class="menu"><a href="#" title="Tuneback">Tuneback</a></td>
<td class="menu"><a href="#" title="Registration">Registration</a>
</td><td class="menu"><a href="#"title="Helpdesk">Helpdesk</a></td>
</tr>
</table>
相關jQuery代碼是
$(document).ready(function() {
$('#eves').mouseenter(function() {
$('.events').stop().slideDown("fast");
}, function() {
$('.events').stop().slideUp("fast");
});
$('#non_tech').hover(function() {
$("tech_div").slideDown("slow");
});
});
我沒有看到的元素id爲'eves'在投稿'HTML' –
爲什麼你在你的mouseenter功能兩個功能,一個在徘徊? – j08691