[jQuery] Re: chaining animations and pausing for each step

2009-09-11 Thread D A
> Since the animations chain, the next one > shouldn't start until the animate is done. Ah...to be more specific, I guess I wasn't chaining animations. I was chaining an non-animated event to an animation. The solution in that case seems to work is instead of chaining the second animation, I ad

[jQuery] Re: chaining animations and pausing for each step

2009-09-11 Thread KirbySaysHi
Check out the animate method. You can use it as a delay by telling it to animate nothing (or a propery you know the value of) for a duration. So something like set the opacity to animate to 1, over a period of 300ms. Since the opacity is presably already 1, it will just hang there for 300 ms! Sinc

[jQuery] Re: chaining animations and pausing for each step

2009-09-11 Thread Jon Banner
Have you had a go with queue? http://docs.jquery.com/Effects/queue Rgds. Jon 2009/9/10 D A > > In pseudo code, here's what I'm trying to do with some text: > > shrinkText.changeText.EnlargeText. > > The jQuery I'm using for this: > >$('span#calendarNumber').animate({ >c