1

I have an element with a <div> overlaying it to display a grid. I wish to have the grid stay on top of this element, but have everything in the element still actionable and interactive (links, selecting text, etc).

How would I code this?

JasonMArcher
  • 14,195
  • 22
  • 56
  • 52
Jody Heavener
  • 2,704
  • 5
  • 41
  • 70
  • with great difficulty. clicks always hit the topmost element in the Z-stack. you'd need to trap them, figure out which "lower" element the click was over, and pass the event on to that element. – Marc B Apr 16 '13 at 16:18
  • A good question but I thin it was already asked and answered, see this one: http://stackoverflow.com/questions/3680429/click-through-a-div-to-underlying-elements – Eran Medan Apr 16 '13 at 16:24

1 Answers1

0

Add pointer-events:none; to the CSS

See this for an example http://jsfiddle.net/Zjq6H/

Eran Medan
  • 44,555
  • 61
  • 184
  • 276