[jQuery] Re: Queuing jQuery animations

2009-02-21 Thread paul.mac
Thanks nik although I ended up using function(){$(this).css("z-index" ,24);}); paul On Feb 20, 7:33 pm, Nikola wrote: > I made a typo it's 'zIndex' not 'zindex' - disregard the quotes > there... > > On Feb 20, 2:32 pm, Nikola wrote: > > > You can use a callback which will be executed when the

[jQuery] Re: Queuing jQuery animations

2009-02-20 Thread Nikola
I made a typo it's 'zIndex' not 'zindex' - disregard the quotes there... On Feb 20, 2:32 pm, Nikola wrote: > You can use a callback which will be executed when the animation is > finished, like this: > > $("#i2").animate({left: "+=110px"}, 1500, function(){ $(this).css > ({zindex:19}); } ); > >

[jQuery] Re: Queuing jQuery animations

2009-02-20 Thread Nikola
You can use a callback which will be executed when the animation is finished, like this: $("#i2").animate({left: "+=110px"}, 1500, function(){ $(this).css ({zindex:19}); } ); On Feb 20, 7:06 am, "paul.mac" wrote: > Hi, A newie to jQuery although I do have quiet a lot of JavaScript > experience.