I searched already and somehow I didn\'t find a matching question .. o.O
Now, i got two divs, \"div 1\" and the other one is hidden (\"submenu\"). Now if I hover ove
The trick requires two things:
jsFiddle example
You don't want to use mouseout(), because that will fire as soon as the cursor goes over the second menu, since this essentially "blocks" it from being over the parent div. mouseleave(), on the other hand, will only fire once the cursor is no longer over either the parent div, or any of it's children.
If you don't want animation, you can do it without JavaScript with the :hover selector like this.