Friday, November 28th, 2008
He shows an example using the pyramid illustrations (as above) and then ends with:
The title of this post is a bit misleading. The mouseenter/leave events are never used. It’s all still accomplished via mouseover/out, but there’s enough information available in the handling element, event.target and event.relatedTarget elements–and their positions relative to each other–to know whether to execute the handler. Since the actual mouseenter/leave events don’t bubble, and in any case are IE-only, reglib wants nothing to do with them. This code is checked in to the trunk, and with a little more testing will be released as reglib version 1.0.5.
One thing also, I’d be curious to know if anybody knows of a reason this would be *undesirable* behavior.
What do you think?
Posted by Dion Almaer at 1:26 pm