I have an HTML structure as this with a constraint that it cannot be modified
<ul>
<li></li>
<li></li>
<li></li>
</ul>
<div><a href="#"></a></div>
<div><a href="#"></a></div>
<div><a href="#"></a></div>
On hoverIn/ hoverOut on an li item, a corresponding div (with absolute positioning one behind another) will fadeIn()/fadeOut() which consists of some links.
Is it possible to modify the hoverOut handler in a way that it should execute a callback only if the hoverOut to hoverIn() is done from one li to another only?
In simple words the hoverOut() shouldn't execute the callback if the mouse pointer goes from li to any other HTML entity except for another li item