On my website, I display some elements over each other. But all of them have to be click able, even if there's an other element displayed over them.
Unfortunately, the elements are on the same level, not nestled. So I can't simply propagate the click event to the parent element.
I created a simple fiddle to describe my problem: When you click on the overlay
element, the click event should be propagated to elemenet1
or element2
, depending on where you have clicked.