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

eclipse plugin - Run java code error: Workspace is closed -

ios - How do I use CFArrayRef in Swift? -

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