>The mouseout event is going to fire before any events on the new target. - maybe set a timer in the handler, set a flag on the mouseenter event of the next div then check this when the timer expires ?
I need to avoid timers. I will go back to the initial approach, based on Thierry's suggestion, and will see what happens.