Hi All,
I'm working on this menu for a intranet system. I have a menu system which is partially working.
I have added the code to here: http://jsbin.com/eloxe3/8
The menu items with a light grey background have a submenu...whereas the others do not. I need some help in making the submenu disappear after I hover over a link without a submenu for 1 second.
I have this function that shows the submenu...& would like the new code to follow similar principles
$(".menu-arrow").hover(function(){
$.data(this, "timer", setTimeout($.proxy(function() {
$(this).click();
},this),500));
},function(){
clearTimeout($.data(this, "timer"));
});
...(Sorry the users of this Intranet are novices...just in case they acidentally rollover a link)
Any help is GREATLY APPRECIATED, Thanks