title: Jquery FadeIn FadeOut keeps repeating
body: <p>Here's my code:</p>
  
  <pre><code>$('.class').fadeOut(function(){
      $('#image').fadeIn().delay(1000).fadeOut(); 
  });
  </code></pre>
  
  <p>It fades in, waits one second and then fades out. But then it repeats. </p>
  
  <p><strong>EDIT 1:</strong> It also does it four times only.</p>
  
  <p><strong>EDIT 2:</strong> <code>.class</code> applies to four elements.</p>