jQuery youtube dimming effect

Posted by Lakshman Prasad on Stack Overflow See other posts from Stack Overflow or by Lakshman Prasad
Published on 2010-06-15T14:16:24Z Indexed on 2010/06/15 15:22 UTC
Read the original article Hit count: 242

Filed under:
|
|

On some pages youtube uses "Turn off the lights" feature.

The same can be done in jQuery. Example

The example dims the entire page background but the video player remains on the top. Why is it so?

And what is the simplest way to dim all divs except the video one explicitly?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about flash