I am dealing with exactly this problem right now, and unfortunately
have a photographic background. THis, setting the background to a
solid color is not an option - I need the background transparent.

I've been trying all kinds of things, unbinding the mouseleave
temporarily, but nothing seems to work.

What I also noticed is this: the mouseleave event fires when the mouse
is over the BORDER of the element, too.

On Jul 28, 3:43 pm, Glenn Engel <gle...@engel.org> wrote:
> Hi,  I discovered an IE7 (and perhaps other IE) bug that took me a
> while to track down and thought I'd share it with others in case
> someone else runs into it.
>
> I had a div with a transparent background that had several inner divs
> with that each had background colors specified.  Since my page
> background was white the transparent background was not in evidence.
> The problem was that when I would move the mouse over the div, I would
> get mouseleave events firing even though the mouse was still over the
> div.  This was only a problem on IE7 and worked fine in firefox.
>
> After much debugging I finally realized that my div background was
> transparent and by setting it to a color the errant event firing went
> away.  Whenever the mouse entered an area of the div that was
> transparent, the mouseleave event would fire!
>
> It might be good to have a note somewhere for the hover function that
> notes there are IE issues when the element has a transparent
> background.  I'm not sure there is any way to fix this in jQuery since
> it appears to be a 'feature' of the IE mouseleave event.
>
> --
> Glenn

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-dev@googlegroups.com
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to