Reputation: 4655
I have this situation, represented in a jsfiddle : http://jsfiddle.net/j2Y9h/1/
To reproduce my problem :
You'll notice that the menu never gets closed.
I would like to close the menu after let's say, 5 seconds have elapsed without the mouse coming back to the menu or submenus.
How?
Thanks :)
Upvotes: 0
Views: 848
Reputation: 733
that being said, I got a lil' familiar with jquery-ui
and forged this fiddle.
I used:
$('#menu').menu();
$('#menu').hover(function(){return false;},function () {
$('#menu').menu("collapseAll", null, true);
});
for my javascript.
Upvotes: 3