Y
Hacker News
new
|
ask
|
show
|
jobs
by
rhythmAddict
5906 days ago
I know I'm being a stickler here, but setTimeout() is conventional JS...
1 comments
billybob
5906 days ago
Yep. jQuery does have .delay() now, though. You can use it like this:
$('#thing').fadeIn(300).delay(2000).fadeOut(300);
link
SanjayU
5906 days ago
Which is precisely the type of thing I'd think would be in the article :)
link
$('#thing').fadeIn(300).delay(2000).fadeOut(300);