/ Published in: jQuery
then use this... $('.notice').fadeIn().idle(2000).fadeOut('slow');
found on... http://stackoverflow.com/questions/316278/timeout-jquery-effects
Expand |
Embed | Plain Text
(function($){ jQuery.fn.idle = function(time) { var o = $(this); o.queue(function() { setTimeout(function() { o.dequeue(); }, time); }); }; })(jQuery);
Comments
Subscribe to comments
You need to login to post a comment.

setTimeout(function () { $('#thisworkstoo).show(); }, 4000);