Sliding through divs at interval - jQuery
<p>I have a list of around 30 divs (see below.) and would like to hear any suggestions on the best way to rotate through them by sliding in one at the top and removing one from the bottom at a set time. Something like every 5-10 seconds. Also even though there are 30 on the page I would only like to show a list of 10 and have the rest show as mentioned.</p>

<p>A great example would be www.foursquare.com and their recent activity section. I would like to do the same except with a predetermined amount of divs instead of real-time using ajax.</p>

<p>Any suggestions or a bit of help pointing me in the right direction would be greatly appreciated.</p>

<pre><code>&lt;div class="recent-questions"&gt;

&lt;div class="recent-question"&gt;&lt;/div&gt;
&lt;div class="recent-question"&gt;&lt;/div&gt;
&lt;div class="recent-question"&gt;&lt;/div&gt;
&lt;div class="recent-question"&gt;&lt;/div&gt;
&lt;div class="recent-question"&gt;&lt;/div&gt;
&lt;div class="recent-question"&gt;&lt;/div&gt;
&lt;div class="recent-question"&gt;&lt;/div&gt;
&lt;div class="recent-question"&gt;&lt;/div&gt;
&lt;div class="recent-question"&gt;&lt;/div&gt;
&lt;div class="recent-question"&gt;&lt;/div&gt;

&lt;div class="recent-question"&gt;&lt;/div&gt;
&lt;div class="recent-question"&gt;&lt;/div&gt;
&lt;div class="recent-question"&gt;&lt;/div&gt;
&lt;div class="recent-question"&gt;&lt;/div&gt;
&lt;div class="recent-question"&gt;&lt;/div&gt;
&lt;div class="recent-question"&gt;&lt;/div&gt;
&lt;div class="recent-question"&gt;&lt;/div&gt;
&lt;div class="recent-question"&gt;&lt;/div&gt;
&lt;div class="recent-question"&gt;&lt;/div&gt;
&lt;div class="recent-question"&gt;&lt;/div&gt;

&lt;/div&gt;
</code></pre>

<p>Thanks in advance for any help or thoughts!</p>
