I have my drop menu sliding down nicely but it does it on all ul's in my navigation. I need it to drop the menu for only the hovered ul.I tried to use the "this" element but don't know enough about jQuery to get it to work. Anyone???
Here's the HTML page (edited for simplicity)
<div id="main-nav">
<ul><h1><a href="index.cfm">About Us</a></h1>
<ul>
<li><a href="#">Our Management</a></li>
<li><a href="#">In The Community</a></li>
</ul>
</ul>
<ul><h1><a href="index.cfm">About Us</a></h1>
<ul>
<li><a href="#">Our Management</a></li>
<li><a href="#">In The Community</a></li>
</ul>
</ul>
</div>
Heres the jQuery:
$(document).ready(function() {
$("#main-nav ul ul").hide();
$(this.id+'ul').hover(function() {
$('ul ul').slideDown(200);
}, function() {
$('ul ul').slideUp(200);
});
});