I have the following hover script that is supposed to handle the sliding down and up of sub menus in my navigation bar:
$j('body').ready(function() {
$j('.menu-item').hover(function() {
$j(this).find('.sub-menu').slideDown("slow");
},
function() {
$j(this).find('.sub-menu').slideUp("slow");
});
});
It slides down fine, but for some reason it doesn't slide up, but rather just disappears when leaving the div.
You can see the nav item in action on this page, specifically on the 'news' item, which has a dropdown for an events page. You will need to enter the following credentials as the site is under development:
username:guest
password:stackoverflow