I need to find a way to pass click events from a div from above to a div below it (and ignore clicks on a higher div). There is a well-known way of simulating a click event and passing it to another div, but this is not a natural behavior and the least needed option.
The event bubble doesn't seem to help here, since the div at the top is not contained in the below.
Any idea?
here is a jsfiddle example:
http://jsfiddle.net/QKjUx/
If you remove the "overlay" div, you can click on any of the elements. While he is there, you cannot. You can pass the event to the div below, but the position is important - there may be a link that I want the user to click on.
Yuvals
source share