What would be the most efficient way to duplicate the Flash animation shown on this site’s home page, without using Flash? http://www.redhotdubai.com/ Must support IE7+ and all other major browsers.
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.
You should probably use a
canvaselement, since you’ll need masking and there’s a lot of animation going on. Using CSS and the DOM would be too hacky in the end, a canvas solution would run faster and more reliably in the end.Here’s some documentation on the relevant canvas method you’ll need:
https://developer.mozilla.org/docs/Web/Guide/HTML/Canvas_tutorial/Using_images#Slicing