Am not getting div_tech div sliding down when mouse comes over an element with id=”non_tech” which is in another div which slides down on mouse over ‘Events’
Related html code is
<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>
Related jquery code is
$(document).ready(function() {
$('#eves').mouseenter(function() {
$('.events').stop().slideDown("fast");
}, function() {
$('.events').stop().slideUp("fast");
});
$('#non_tech').hover(function() {
$("tech_div").slideDown("slow");
});
});
mouseenterdoes not take two functions.. I think you are looking for.hover()or combination ofmouseenterandmouseoutLooks like you are missing the Class selector
UPDATE
Check Fiddle