[jQuery] Re: How to hide a div without a click function

2007-10-05 Thread somnamblst
Oops, my bad. Thanks motob The mouseover/mouseout detection is very cool & has me thinking. I would love to have a trigger div that reacts to a hover and expands a div that has the ability to hold the expanded state only as long as the cursor is over the expanded div On Oct 4, 6:32 pm, somnambl

[jQuery] Re: How to hide a div without a click function

2007-10-04 Thread somnamblst
Thanks Glen, I have the following $(document).ready(function() { initSlideboxes(); function initSlideboxes() { $('#slidebar').slideDown("slow"); setTimeout(function() { $('#slidebar').slideUp("slow"); }, 7000); $('#slidebar').html($('#hidebar').html()); $('

[jQuery] Re: How to hide a div without a click function

2007-10-04 Thread motob
You could also try using setTimeout() like so: setTimeout(function() { $('#slidebar').toggle(); }, 2000); This will activate the #slidebar toggle after 2000 milliseconds even is the user is trying to interact with the #slidebar which may not be what you want. I'm not sure what the slide bar is

[jQuery] Re: How to hide a div without a click function

2007-10-04 Thread somnamblst
Like this? $(document).ready(function() { initSlideboxes(); function initSlideboxes() $('#slidebar').slideDown('slow'); setTimeout( function() { alert( 'timer!' ); }, 1000 ); .slideUp('slow', function() { $('#slidebartrigger').click(function(){$('#slidebar').toggle

[jQuery] Re: How to hide a div without a click function

2007-10-04 Thread somnamblst
Like this? I found the pause plugin but no documentation. But I googled some more. Am I getting closer? $(document).ready(function() { initSlideboxes(); function initSlideboxes() $('#slidebar').slideDown('slow'); .animate({opacity: 1.0}, 13,000

[jQuery] Re: How to hide a div without a click function

2007-10-04 Thread somnamblst
I'm not sure, here is how I did it with scriptaculous function startTimeline() { new Effect.SlideDown('slidebar', { duration: 3.0, afterFinish: function() {new Effect.SlideUp('slidebar', { delay: 7.5, duration: 3.0});} }); } On Oct 3, 7:21 pm, "Glen Lipka" <[EMAIL PROTECTED]> wrote: > There i

[jQuery] Re: How to hide a div without a click function

2007-10-03 Thread Glen Lipka
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').s