title: jQuery fadein fadeout divs over set interval
body: <p>I want to fadeOut the first div in a collection and then fadeIn the next div.  The fade in out would trigger at a set time.  The number of items in the collection is 1 to n.  Here is an example of the html;</p>
  
  <pre><code>&lt;div class="contentPanel"&gt;
        &lt;div class="content"&gt;
           &lt;div style="border: solid 2px black; text-align: center"&gt;
              This is first content
           &lt;/div&gt;
        &lt;/div&gt;
        &lt;div class="content"&gt;
           &lt;div style="border: solid 2px black; text-align: center"&gt;
              This is second content
           &lt;/div&gt;
        &lt;/div&gt;
        &lt;div class="content"&gt;
           &lt;div style="border: solid 2px black; text-align: center"&gt;
              This is third content
           &lt;/div&gt;
        &lt;/div&gt;
     &lt;/div&gt;
  </code></pre>
  
  <p>So on page load the first "content" class would be visible, after x amount of time, the current "content" would fadeout and the next "content" would fade in.  When it got to the nth "content" it would start over, fadeout the nth "content" and fadein the first "content".  This behavior would loop continuously.</p>