$(document).ready(function(){
$("#ID").animate();
});
How to create an animation that is active to visit the page [closed]
Question
What code should I add jquery to create an animation that is activated when a user visits the page.
Solution
OTHER TIPS
Could you not add the function into the <BODY>
tag using onload?
Like:
<BODY onload="myfunction()">
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow