title: Jquery Opacity Fade In Out Loop
body: <p>One of my clients asked me to make a blinking effect on a div. I think that might not be the best thing for him, maybe light fading in and out of opacity will get the attention of his customers, without annoying them.  </p>
  
  <p>I currently have</p>
  
  <pre><code> &lt;a class="special_button" href="#"&gt;Special Offers &amp;rsaquo;&lt;/a&gt;
  </code></pre>
  
  <p>I have the following code for another div, which causes a fade in on browser load : </p>
  
  <pre><code>$('.logo-top').delay(700).animate({
       'opacity' : '1',        
       'top' : '+=40px'
  }, { duration: 700, easing: 'swing' });
  </code></pre>
  
  <p>How would I do something similar for the special_button, but instead looping the opacity? From say 80 to 100?</p>
  
  <p>It would even be better if it looped a certain amount of times, maybe like 5. </p>
  
  <p>Best,
  Stepan </p>