I have a 640x200 div with a hidden 200x100 div inside of it. My goal was to fade the hidden div in when the 640x200 div is hovered over, and then back out when that div is exited. Everything works fine going in, but when I hover over the child div it triggers the hover off function below.
UPDATE I know realize that the hover off is being triggered when I hover over an element INSIDE the hidden div.
I'm using this code:
jQuery("#pstsldcon").hover(function() {
jQuery("#slidenav").animate({
opacity: +1
}, 300)
}, function() {
jQuery("#slidenav").animate({
opacity: 0
}, 300)
});