質問

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