jQuery youtube dimming effect
- by Lakshman Prasad
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?