title: Jquery setInterval() not working
body: <p>I'm trying to create a kind of slideshow.</p>
  
  <p>The problem:  </p>
  
  <pre><code>function slides(x) {
        $("#irack").stop().animate({"left": x}, 20);
   };
  setInterval(slides(-30),300);
  </code></pre>
  
  <p>This code only moves the div to the left 1 time.</p>
  
  <p>Why doesn't it move the div every 300ms ?</p>