Let me explain a little more, I'm trying to have a large area (full screen) with a fixed size hole. The hole will follow the mouse around the screen. Think of the area focused on the page and the rest of the page grayed out.
I need this work efficiently in all browsers (including IE 6).
My current solution uses 4 divs (top, right, bottom, left) and forms a hole this way. However, this requires a redraw of the entire screen, and this shows artifacts (divs have a background image so that the gray space).
Is there a better (more efficient) way to achieve this that anyone might encounter?
Note. The hole should convey all events through the elements below these sections.
source
share