jQuery fadeIn and fadeOut error messages with a delay

A simple jQuery snippet to fade out a flash error afater it loads. The Fade in doesn’t seem to be working 100% correct yet but it is good enough for now. $(document).ready(function(){ $(“#flash-message”).fadeIn(“slow”); $(“#flash-message”).animate({opacity: 1.0}, 3000) $(“#flash-message”).fadeOut(“slow”); }); Effect Delay … Continue reading