auto trigger a function with .animate in jquery -


I am on a jQuery project and stuck at some point.
I jQuery .animate () ie: $ ("planeid"). Animate ({top: '590px'}, 1000); where the top value is initially 0

top when the value of the property reaches

>

Yes , You can return the step call to the endem function.

  $ ("plane") (animate) ({top: '590px'}, {duration: 1000, phase: function (current value) {if (currentValue === 200} {// your code is here.}}});  

Comments

Popular posts from this blog

scala - Play Framework - how to bind form to a session field -

c++ - Why does Visual Studio Release build break on non-executing code line -

Firefox reacting to JQuery setTimeout that doesn't apply -