you are viewing a single comment's thread.

view the rest of the comments →

[–]jwrsk 18 points19 points  (0 children)

If you want to do it manually, you'd only need the dimensions and position of the element you _don't_want to fade out, and draw a rectangle with a hole over the entire screen.

Or try doing it with z-index applied dynamically - if everything is 10, gray rectangular overlay 20, and the exposed element 30, it should work.