0

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.

Christopher
  • 2,005
  • 3
  • 24
  • 50
  • track mouse position in element – monkeyinsight Apr 27 '13 at 16:05
  • 1
    have you checked this question? http://stackoverflow.com/questions/5398787/jquery-pass-click-through-element – Niklas Apr 27 '13 at 16:07
  • Thank a lot! That's exactly what I was searching for! So my question is clearly a duplicate - what should we do? If you want to, you can answer it with the reference to the other question so I can mark this question as solved. Or should I delete it? – Christopher Apr 27 '13 at 16:11

0 Answers0