Re: [jQuery] Stopping animate() on command

2006-10-09 Thread Paul Bakaus
Good idea Stefan, this would help alot in further effects development. Maybe we can add a global object or method called something like $.queue, which does something like this:$.queue('click') = {0: {fx: animate params, state: '50%'}, 1: {animate params, state: '0%'}, 2: {animate params. state: '0%

Re: [jQuery] Stopping animate() on command

2006-10-09 Thread Stefan Petre
Paul Bakaus wrote: Hi there, I'm currently searching for a good solution to stop jQuery's interal function animate() when a new event occurs. A very basic example: 1. You have a moving div container which has a duration of 10 seconds, it moves from left: 0px; to left: 500px. 2. Somewhe

[jQuery] Stopping animate() on command

2006-10-09 Thread Paul Bakaus
Hi there,I'm currently searching for a good solution to stop jQuery's interal function animate() when a new event occurs. A very basic example:1. You have a moving div container which has a duration of 10 seconds, it moves from left: 0px; to left: 500px. 2. Somewhere in your page there's a "stop" b