3
shouts

Use jQuery to "turn off the lights" while watching videos

posted by https://me.yahoo.com/mosessaur#7fe0dhttps://me.yahoo.com/mosessaur#7fe0d 305 days, 8 hours, 36 minutes ago
Sunday, May 17, 2009 9:44:16 PM GMT

Some videos on YouTube have a cool feature called "Turn the lights down". Basically, when you turn lights down, the entire page darkens and let you watch video as if you are in the cinema. This tutorial will show you how to implement this simple effect.

View live demo

Our example is simple - it consists of header, the video, "turn off the lights" link and sidebar with some information about the video. At the code below you can se the "command" div that contains ligh...

category: UX | clicked: 5 | | source: www.jankoatwarpspeed.com | show counter code
tags: jQuery

No comments yet, be the first one to post comment.

To post your comment please login or signup