Posted By

svenito on 09/29/09


Tagged

show fade timeout wait


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

karp13
wattsupnow
Priestd09


Show an element for x seconds then fade out


 / Published in: jQuery
 

Shows the given element and fades it out after a given period

  1. // Fade out after 3000ms. Fade over 1000ms
  2. $("#myElementId").show().animate({opacity: 1.0}, 3000).fadeOut(1000);

Report this snippet  

You need to login to post a comment.