title: Add autoplay to this jQuery Carousel
body: <p>I've created a carousel using jQuery and I would like to add auto-play functionality to it.</p>
  
  <p>Here's my existing JS:</p>
  
  <pre><code>$(document).ready(function (){
      $('#button a').click(function(){
          var integer = $(this).attr('rel');
          $('#myslide .cover').animate({left:-705*(parseInt(integer)-1)})
          $('#button a').each(function(){
              $(this).removeClass('active');
              if($(this).hasClass('button'+integer)){
                  $(this).addClass('active')}
          });
      });
  });​
  </code></pre>
  
  <p>And here's <a href="http://jsfiddle.net/gy7LE/1/" rel="nofollow">a working fiddle</a>.</p>
  
  <p><strong>Question:</strong> I have no idea where to start with auto-play. Any suggestions?</p>