Nice subject line.. haha
Perhaps a simple explanation, but why doesn't event delegation work
with mouseenter/-leave events on elements right next to each other or
with little margin?
http://www.mootools.net/shell/rUq66/

When you would attach mouseenter/-leave events to each of the li's it
works as expected..

This has prevented me a couple of times already not being able to use
event delegation which is pity cause I'm attaching events to more than
a few elements on the page.

And can't use mouseover because it fires the whole time.

Is there a clear explanation or is this a "bug" ?

Cheers

Reply via email to