Yes I have used that before, but I need to know how to add a callback function which is called after a set of animations are completed.
If I have an array of dom elements which all need the same animation applied to them,
how can I tell when all the animations are complete?
Thanks,
Cam
On Thu, Jan 1, 2009 at 8:19 PM, brian <bally.zijn@gmail.com> wrote:
slideUp accepts a callback function you could use
On Wed, Dec 31, 2008 at 11:26 PM, Cam Spiers <camspiers@gmail.com> wrote:
> Hey,
>
> function closeMainPanels(){
> jQuery("div.mainLiner div.panel").each(function(){
> jQuery(this).slideUp(750);
> });
> }
>
> How can I tell when all panels have finished animation?
>
> As I need to call another function when all have finished.
>
http://docs.jquery.com/Effects/slideUp
No comments:
Post a Comment