View Full Version : dim/zoom button

12-13-2010, 05:35 PM
Hello, I understand some bits and peaces but not enough to solve this problem.

Imagine in the middle of the page there is only one picture(it's gonna be little flash animation) and when you click on in than everything dims out and the html5 video player comes in the middle of the page. And you can't click on anything else before you pressed "X" on the video.

I have the player ready, but I don't know how to make it appear after image is clicked.

Something like here (http://www.brandx.eu/CreativeServices/CorporateMaterials/tabid/137/language/en-GB/Default.aspx) when you click on the thumbnails only instead of image there's gonna be video.

Please help


12-13-2010, 06:33 PM
javascripts are usually used when you want somethign to happen after a user does something like click somthing somewhere..but I'm not sure if javascript is what you need in this situation...

12-14-2010, 12:50 PM

The technique is called a lightbox - have a look for "html5 video lightbox" or similar.