Skip to main content

Bug Tracker

Side navigation

#203 closed feature (fixed)

Opened September 17, 2006 12:54PM UTC

Closed September 08, 2007 02:56AM UTC

Last modified March 15, 2012 01:49AM UTC

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:
Description

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.

Attachments (0)
Change History (10)

Changed November 17, 2006 03:14PM UTC by anonymous comment:1

priority: minormajor

Changed November 17, 2006 09:38PM UTC by john comment:2

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.

Changed January 02, 2007 11:34PM UTC by spinnach comment:3

..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...

Changed January 03, 2007 12:50AM UTC by wfodesign@gm comment:4

how would this actually work?

like this?

...

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

$('aDiv').fxEnd();

...

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

Changed January 16, 2007 03:56PM UTC by Dan Atkinson comment:5

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

Changed January 30, 2007 07:19AM UTC by Lincoln Coop comment:6

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

Changed February 03, 2007 03:06PM UTC by Dmitry Rudak comment:7

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

Changed April 13, 2007 08:58PM UTC by omega-pi comment:8

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

Changed June 21, 2007 07:21AM UTC by scragz comment:9

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

Changed September 08, 2007 02:56AM UTC by john comment:10

milestone: → 1.2
need: → Review
resolution: → fixed
status: newclosed
version: → 1.1.4

Fixed in SVN rev [3133].