Bug Tracker

Opened 14 years ago

Closed 13 years ago

Last modified 8 years ago

#203 closed feature (fixed)

More control over animation

Reported by: anonymous Owned by:
Priority: minor Milestone: 1.2
Component: effects Version: 1.1.4
Keywords: Cc:
Blocked by: Blocking:


In some cases I want to stop an animation, dequeue or just end (get to the last step) an animation or a group of animations by type.

Change History (10)

comment:1 Changed 14 years ago by anonymous

Priority: minormajor

comment:2 Changed 14 years ago by john

Priority: majorminor
Type: enhancementfeature

Ok, so this feature request is specifically looking for the addition of:

  .fxStop() // Pause an animation and dequeue it
  .fxPause() // Pause the animation at the current 'frame'
  .fxPlay() // Resume the current animation
  .fxStart() // Restart the animation from the first frame
  .fxEnd() // Move the animation to the last frame and dequeue it

or something similar. .dequeue() already exists, it would just need to be made "publicly" available.

comment:3 Changed 14 years ago by spinnach

..i had a need for such things many times (starting and stopping animations - especially stopping), so this feature would be very helpful.. i like the syntax above...

comment:4 Changed 14 years ago by wfodesign@…

how would this actually work?

like this? ... $('aDiv').animate({left: 250px}, 'slow'); $('aDiv').fxEnd(); ...

also, wouldnt .fxRestart() be better than .fxStart()?

comment:5 Changed 13 years ago by Dan Atkinson

Any way to prevent any queued animations on a particular element would be great!

comment:6 Changed 13 years ago by Lincoln Coop

I would be very interested in this mod - basically I need to stop/cancel an animation before it has finished.

comment:7 Changed 13 years ago by Dmitry Rudak

I also need a way to stop a queued animations for a given element.

comment:8 Changed 13 years ago by omega-pi

Exactly what I actually need, after using jquery just a single day now

comment:9 Changed 13 years ago by scragz

The way the interface plugin handles it worked for my most recent need of this feature. See: http://interface.eyecon.ro/docs/animate

comment:10 Changed 13 years ago by john

Milestone: 1.2
need: Review
Resolution: fixed
Status: newclosed
Version: 1.1.4

Fixed in SVN rev [3133].

Note: See TracTickets for help on using tickets.