menu behavior
menu behavior
Hi,
I have built a simple menu with a table. The first TR is the static menu. When you hover over a TD it slides down a panel on the second TR like this:
-
$('#btnGoAppProducts').hover(function() {
$("#pnlGoAppProducts").slideDown("fast");
},
function() {
$('#pnlGoAppProducts').hover(function() {
return 0;
},
function() {
$('#pnlGoAppProducts').hide(200);
}
);
}
);
But, this behavior is wrong since when hoveringOut of the static TD I need to check if I'm over the subMenu panel or not,
how do I fix it?
Other words: when I hover the static TD it opens the submenu. Now when I hoverOut of the TD to the submenu it should stay open and when I hoverOut of the TD to other areas the submenu should be hidden.
tnx