[jQuery] Re: jQuery and setTimeout

2008-09-16 Thread zoltalar
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(

[jQuery] jQuery and setTimeout

2008-09-16 Thread zoltalar
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