Spritely jQuery Plugin - Stop All Spritely Animations

I'm developing a sort of 'booklet' with a set of pages that can be viewed one at a time. On each page, there is a lot of animation going on using the jQuery Spritely plugin, both the pan() and sprite() methods, causing it to be very resource-intensive.

When the button is pressed to proceed to the next page, is there a concise way to stop ALL spritely animations that are going on? Or will I need to do so with each element manually?


I ended up creating a scenes object, with each of its child-objects having a boolean active attribute, a create() method, and a destroy() method (which toggled the active attribute).

When I clicked on a button that was supposed to display a new scene of animations, I first looped through the scenes object for any child-objects with their active variable set to true, and then I would call that object's destroy method before finally calling the create() method for the button that was originally clicked.

Need Your Help

Websphere MQ asynchronous put not working

java asynchronous websphere-mq

We have an application using Websphere MQ v.7.0.1. The server is on linux, the client application runs on Windows 7 and is written in Java using the MQ classes for java. One of the queues between...

handling firefox extension prefrences across sessions

firefox session firefox-addon

I'm working on a firefox extention. I like to give some options for the user, like setting background

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.