I have a div
containing an image that is overlapping multiple other div
s. It looks something like this:
<div style='width:100%;height:100%'><img src='someImage.png'></div>
<div id='covered'>I'm underneath the div above me, but still visible</div>
I am trying to set up a jQuery event handler as follows:
$('#covered').live('mouseover',function(){ do stuff });
However, the mouseover
event is not working due to the overlapping div
. Is there a way to make this work?
(Additional information: The covering div
has a higher z-index for proper layering, and I am using "live" because #covered
is dynamically generated.)