Ok, I can try that.
But I need a condition to know when to remove the inner div B. When I
mouse over the inner div B it was already removed.
If I don't remove it, I need a condition to remove it in the mouse out
event of div A. But as i told before, mouse if I mouse over the div B
is assumed as a mouse out of div A ...

On Oct 6, 1:32 pm, Abhay <xd08...@gmail.com> wrote:
> On Oct 6, 1:17 pm, SmiThiCo <ruimen...@gmail.com> wrote:
>
>
>
> > Hi all,
> > I've have been struggling a hole day around this and I can't find a
> > proper solution :(
>
> > I have a div A that when I mouse hover creates and appends in run time
> > another div B inside with an higher z-index. This new div B is a info
> > div that I want to show within the limits of the div A. When I mouse
> > out div A, the div B is removed. The problem is that when I mouse
> > hover the B div, it runs the mouse out event of the div A, and cleans
> > the div B, and I want to maintain it while the mouse is still on the
> > boundaries of the div A!
>
> > Is there a way to avoid the mouse out event of the div A when the
> > mouse is on top of the div B? IS is necessary to calculate the
> > coordinates of the mouse and check if it is in the boundaries of the
> > div A? Probably there's a better and simple solution for this!
>
> > By the way, I'm am using live("mouseover",fn) and live("mouseout",fn)
> > to handle the mouse hover events.
>
> > Thank you very much!
>
> I think the simplest way would be to re insert the inner info div at
> its mouse enter event

Reply via email to