If I have something like this:
Is there a way to fire the mouseover events on BOTH divs?
Edit: Sorry all .. I tried to simplfy the problem so it was clear to understand and I forgot to mention I have more than 100 divs like that so probably those solutions don't work. I'm going to see if I can adpat them. Many thanks everybody anyway.
I put together a working example here with JSFiddle:
http://jsfiddle.net/gfosco/CU5YT/
It's similar to madeinstefanos answer, but specific to your example..
It's possible. You cannot get the mouseenter|mouseover event for a part of a element that is below another element, but if you know the dimensions and the position of the element, you can listen for mousemove event and get when the mouse enters in some particular area.
I created two divs, like yours:
And I want to know when the mouse enters the area occuped by the div that is below, to do that I wrote this script:
It's not simple as listen for mousenter|mouseover, but works fine.
Here a link to fiddle