title: Looping javascript?
body: <p>I am new to <code>js</code>, and <code>jquery</code>, and I am trying to fade in and out list items.
  Im using the jQuery Cycle Plugin (with Transition Definitions).
  Its working just fine, however I need this to loop. I am sure its something simple. However I cannot find a answer.:( </p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
  function InOut( elem )
  {
    elem.delay()
   .fadeIn(400)
   .delay(5000)
   .fadeOut( 
             function(){ InOut( elem.next() ); }
           ) ;
  }
  
  $(function(){
  $('#newsticker li').hide();
  InOut( $('#newsticker li:first') );
  
  });
  &lt;/script&gt;
  </code></pre>