Animate image opacity from 0 to 100 and back to 0
<p>I have one image which is stacked on top of another one. I am trying to animate the top image opacity to 0 and then back to 100 and then again to 0. This should continue in a loop. Is there a way i can achieve it ?? Please help..</p>

<pre><code>$('.bannerHover').animate({
    opacity: 0.25
  }, 5000, function() {
  });
</code></pre>
