I have this code:
<div id='father' style='width:50px; height:50px;overflow:hidden;' onMouseOut="alert('called');">
<div id='container' style='margin-top:0px;width:100%;height:100%;transition: margin 2s;'>
<div style='width: 50px;height:50px;background-color:rgb(255,0,0);' onClick="document.getElementById('container').style.marginTop='-50px'"></div>
<div style='width: 50px;height:50px;background-color:rgb(0,0,255);' onClick="document.getElementById('container').style.marginTop='0px'"></div>
</div>
</div>
If you click on the red box, the blue box will appear from bottom... when onMouseOver the blue box is called, onMouseOut from father is called too...
Do you know a workaround to do not see the alert if the mouse is still inside "father".