I am looking to achieving this effect from Mozilla Firefox, when clicking on a video thumbnail. I would also like to achieve this with photos as well. Check this link and click on the thumbnail play button.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you’re using jQuery, there’s lots of plugins to provide zoom style thumb-to-full-size effects. For example fancybox (see the third single image example on this page).
Alternatively, if you want more control, you could build the features yourself without too much effort:
srcattribute of your thumbnail image (make sure its a fixed size)Note that depending on what you’re showing (for example if you were doing this for embedded flash video), you may need to swap the order of 2 & 3, by zooming the thumbnail (or some other place holder image) & then swapping in the final, full size content.