I have a row of divs with the class "itemcontainer" that show a group of action icons on mouseover. One of the action icons has a dropdown menu with an absolute position that shows on mouseover. The challenge I am trying solve is the fact the dropdown menu spans over the item container and when you move the mouse down to the dropdown menu, the itemcontainer mouseout logic kicks in and hides the dropdown menu and item container. Any suggestions, jquery code below.
$(".itemcontainer").live("mouseover", function () {
$(this).addClass("selecteditemcontainer");
$(this).find(".actioncontainer").show();
}).live("mouseout", function () {
$(this).removeClass("selecteditemcontainer");
$(this).find(".actioncontainer").hide();
});
$(".dropdown").live("mouseover", function () {
$(this).find(".submenu").slideDown("fast").show();
$(this).parent().mouseout(function () {
}, function () {
$(this).parent().find(".submenu").slideUp('fast'); //When the mouse hovers out of the subnav, move it back up
});
});