View Full Version : Jquery: Making mouseout ignore a zindex object

12-01-2008, 01:10 PM
Hi, I have one main div, and then a div on top of it (via divindex). I have mouseover and mouseout events on the main div. The problem is I do not want the mouseout to fire when I hover the zindex div...

I think I know how to do it, but I wanted to know if there was a better way.

My idea is inside the mouseout event to check the mouseposition and just make sure it is not inside the zindex'ed div.

I thought there might be a better way.