[jQuery] Re: Delaying remaining actions until animation is complete

2008-06-09 Thread fambi
Thanks. I wish the documentation was clearer! On Jun 8, 8:18 pm, "Michael Geary" <[EMAIL PROTECTED]> wrote: > Use the completion callback: > > $this.animate({opacity: "0.5"}, { complete: function() { > Action 1 > Action 2 > Action 3 > $this.animate({opacity: "1.5"}); > > }}); > >

[jQuery] Re: Delaying remaining actions until animation is complete

2008-06-08 Thread Michael Geary
Use the completion callback: $this.animate({opacity: "0.5"}, { complete: function() { Action 1 Action 2 Action 3 $this.animate({opacity: "1.5"}); }}); -Mike > We have a string of actions which run on a click event, but > before they run, we want to animate down the opacity of