Something like:
jQuery(element_here).delay(5000).slideup('fast', function() {
bm_item_link_obj.removeClass("bm-item-link-hover");
});
would work
If your basing it on your html in your question/ JSfiddle, you would change your JS in the select statement to look like this:
case "slideUp":
bm_item_content_obj.delay(5000).slideUp( 'fast', function() {
bm_item_link_obj.removeClass("bm-item-link-hover");
});
Also it would be better to wrap:
$("#navigation ol").bigmenu();
in:
$(document).ready(function () {
// NAVIGATION
$("#navigation ol").bigmenu();
});
than
$(window).load(function () {
// NAVIGATION
$("#navigation ol").bigmenu();
});
To get other links to slide up when you go on to another link straight away you need this:
$(".submenu").not(bm_item_content_obj).stop(true, true).slideUp("fast");
below whats already in:
case "slideDown":
So it will look like:
case "slideDown":
bm_item_content_obj.height("auto");
bm_item_content_obj.slideDown(100);
$(".submenu").not(bm_item_content_obj).stop(true, true).slideUp("fast");
break;