/ Published in: jQuery
Shows the given element and fades it out after a given period
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// Fade out after 3000ms. Fade over 1000ms $("#myElementId").show().animate({opacity: 1.0}, 3000).fadeOut(1000);