Вопрос

What code should I add jquery to create an animation that is activated when a user visits the page.

Это было полезно?

Решение

$(document).ready(function(){
  $("#ID").animate();
});

Другие советы

Could you not add the function into the <BODY> tag using onload?

Like:

<BODY onload="myfunction()">
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top