Where does frequency come into your script? You have a one-off timeout delay, and 2 durations (on the animations) ... no frequency. I think there may possibly be more script (that's still relevant to the question)?
Also, you should avoid setting html() on an element while it's being animated. On Oct 26, 9:56 pm, somnamblst <[EMAIL PROTECTED]> wrote: > I just tried the cookie I used with my scriptaculous sliding div & it > did not cap frequency. I would like my cookie to cap the frequency of $ > ('#slidebar').slideDown("normal"); but not prevent a user from using $ > ('#slidebartrigger').click(function(){$ > ('#slidebar').slideToggle(); }); to interact with the same div. Is > this possible? > > My JQuery function > > $(document).ready(function() { > initSlideboxes(); > > function initSlideboxes() > > { > $('#slidebar').slideDown("normal"); > setTimeout(function() > { > $('#slidebar').slideUp(3000); > > }, 5000); > > $('#slidebar').html($('#hidebar').html()); > $('#slidebartrigger').click(function(){$ > ('#slidebar').slideToggle(); }); > > }; > });