18 Replies Latest reply on Aug 20, 2014 4:08 PM by Eddie Ostrowski

    Two elements overlap each other, both elements will need to fire when I click on the top element

    Casu2013

      Hello,

       

      Maybe a stupid question. But when two elements (div) overlap each other. Both have a click function on it.

      Is it possible when I click on the top element, both elements will start.

       

      Now when I click on it, only the element who is on top will fire.

       

      And if I set pointer-events to "none" on the top element, the element who is below will fire.

       

      If this is possible can somebody tell me the right code.

       

      Thanks!