javascript - Any way I can interact with a jQuery animation queue? - jQuery -


Can any way interact with a jQuery animation queue?

I should be able to use the animation as if it was a type of movie, which would allow me to run rewind, fast forward or even some relative time animation.


I think if it can be very complex to get it, but it is very interesting to know that it is worth asking and knowing for me whether it is possible. :)


Any thoughts? =)

In short, there is no real support for this.

The reason for this is how it works, it's a simple (well, as simple as that) forward-only models: for most things Is done through one (). This is a simple calculation in most cases, we should go from value to x plus y to n milliseconds. The timer for JQuery is every 13ms, each animation progress update (moves one step) is every 13 ms, it divides () and for this it divides the element to determine the value of the element.

You can not actually "fast-forward", because you have to adjust the properties that do not appear before you in the end of the animation, you can end up on the end of any animation (through) Can go, and when else may be needed ... or the distraction with the queue directly, but this is it. For rewards ... Okay, the animation is cleaned () so that can get out (except for intervals, all looking forward).

Not so, there is no way to do this, with at least not created animation systems it is not possible to say that this is not possible, rather the code which was already written in the jQuery core He will not help you


Comments