How come it isn't on the docs ? http://docs.jquery.com/Effects/animate#toptions
On Thu, Jan 15, 2009 at 6:43 PM, Ricardo Tomasi <ricardob...@gmail.com> wrote: > > It's not in the docs, but you have to pass the callback as the > 'complete' option: > > $(this).animate({marginTop:'500px'}, {queue: false, complete: function > (){ ... } }); > > On Jan 14, 4:10 pm, "lhwpa...@googlemail.com" > <lhwpa...@googlemail.com> wrote: >> hi, im using .animate() to create a custom animation. is there any way >> to handle a callback function? "normal" . animation() has a parameter >> for a callback function but not the one for own animations? > > > -- Ariel Flesler http://flesler.blogspot.com