Unresolved: Position:absolute, MouseOut/Leave and Internet Explorer

19 02 2009

In a nutshell, my unresolved issue goes like this:

I’m trying to detect when the mouse leaves a region which is displayed on an absolute position on the page. The only problem is that IE keeps reporting that the mouse has entered the element underneath the position:absolute element, correctly firing the MouseOut event (also the MouseLeave event which I *really* want to use anyway).

For now, I’ve put in an acceptable work-around, placing an X to click, and capturing clicks on the document, so that the element disappears onclick on the X or elsewhere on the page.

P.S. the Prototype function spoofing IE’s MouseEnter and MouseLeave, located here worked very nicely. But IE’s native events seem to have problems!

Advertisements