Control .fadeOut() with jQuery
<p>I have the following jquery code:</p>

<pre><code>&lt;script type="text/javascript"&gt;
$(function(){
    $('.gallery-slider li:gt(0)').hide();
    setInterval(function(){
      $('.gallery-slider li:first-child').fadeOut("slow")
         .next('.gallery-slider li').fadeIn(1000)
         .end().appendTo('.gallery-slider');}, 
      2000);
});
&lt;/script&gt;
</code></pre>

<p>The .fadeIn seems to be working, however the .fadeOut does not seem to be properly accepting the speed parameter. What do I need to change such that it will properly work? Thank you.</p>
