You can use the below effect to animate, you can change the values as per your requirements
$("#myElem").fadeIn('slow').animate({opacity: 1.0}, 1500).effect("pulsate", { times: 2 }, 800).fadeOut('slow');
Just as simple as this:
$("#myElem").show("slow").delay(5000).hide("slow");
Source: Stackoverflow.com