Like this? $(document).ready(function() { initSlideboxes(); function initSlideboxes() $('#slidebar').slideDown('slow'); setTimeout( function() { alert( 'timer!' ); }, 1000 ); .slideUp('slow', function() { $('#slidebartrigger').click(function(){$('#slidebar').toggle(); }); $(this).remove(); }); }); });
On Oct 3, 7:21 pm, "Glen Lipka" <[EMAIL PROTECTED]> wrote: > There is a pause plugin. Does that do the > trick?http://blog.mythin.net/projects/jquery.php > > Glen > > On 10/3/07, somnamblst <[EMAIL PROTECTED]> wrote: > > > > > > > I currently have this > > > $(document).ready(function() { > > initSlideboxes(); > > function initSlideboxes() > > { > > $('#slidebar').show(); > > $('#slidebar').html($('#hidebar').html()); > > $('#slidebartrigger').click(function(){$('#slidebar').toggle(); > > }); > > > }; > > }); > > > I would like after a certain duration of several seconds to have the > > slidebar div hide. I know how to do this in scriptaculous but I have > > abandoned my scriptaculous solution for jquery.- Hide quoted text - > > - Show quoted text -