Is there a way to auto-fade after x seconds?

5 views
Skip to first unread message

John

unread,
Oct 19, 2008, 3:01:38 PM10/19/08
to facebox
I'm trying to recreate Facebook's notification effect where you'll get
a dialog along the lines of "You have poked so-and-so" and then you
can click OK to make it go away or it goes away on its own after 2
seconds or so.

John

unread,
Oct 19, 2008, 3:16:59 PM10/19/08
to facebox
Nevermind. I just realized I can set up a time that will trigger

jQuery(document).trigger('close.facebox')

after x seconds. Sorry for the noise!

Jonny Stephens

unread,
Oct 19, 2008, 3:59:22 PM10/19/08
to facebox
Please post the full relevant code so others can benefit from the
solution.
Reply all
Reply to author
Forward
0 new messages