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!