I encountered this problem:
$('#d3').show(); $('#d1, #d2').mouseenter(function(){ $( "#d3" ).animate({ width: "70%" }, 300 ); }).mouseleave(function(){ $( "#d3" ).animate({ width: "20%" }, 300 ); }); When passing from one element to another it triggers an mouse leave for one of the element which starts animation. I want to prevent it and make it that they behave like one element. I'm in stadium that it's hard to change html order to make a parent element.
I expected this behavior but I wanted to give it a try.
Is it possible?
Thanks!