1 – How to create an event when the animation ends?
Animation written in css3
2 – How to Play the animation only when all data loaded in the browser ?
You can see
Many Thx.
Demo jsFiddle
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.
1 -You need to add an animationEnd event listener
Make sure you add it for all browser vendors.
Here is a forked version: http://jsfiddle.net/Fj2vF/2/
2 – Do not worry about this. As the W3C specks say your animation will start only when everything is loaded.