Thanks Mike, you got me on the right path, your code needed a small
tweak:

jQuery(document).ready
(
        function()
        {
                setTimeout
                (
                        function()
                        {
                                jQuery('div.request').fadeOut(2000);
                        },
                        5000
                );
        }
);

Thanks again

On Sep 16, 2:32 pm, Mike Alsup <[EMAIL PROTECTED]> wrote:
> > How can I make the element (div with class="request"), fade out after
> > loading page and waiting 5 seconds, basically:
>
> > 1) load the page
> > 2) wait 5 seconds
> > 3) fade out the element
>
> > Here's what I have:
>
> > jQuery(document).ready
> > (
> >         function()
> >         {
> >                 jQuery('div.request').fadeOut(5000);
> >         }
> > );
>
> Try this:
>
> $(document).ready(function() {
>     setTimeout(function() {
>         $('div.request').fadeOut();
>     }, 5000);
>
> });

Reply via email to