On Wed, Dec 31, 2008 at 11:26 PM, Cam Spiers <camspi...@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. >
slideUp accepts a callback function you could use http://docs.jquery.com/Effects/slideUp