I try to animate an image with zooming every one second, it work when I load my page but I want it every one second. I think when I use the same id of my image it’s a problem.
This is my JSFIDDLE.
Thank you.
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’re using
setTimeoutwhich will execute some code after a certain time, what you want issetInterval, which will execute some code every so often. http://jsfiddle.net/UxTdU/3/