jquery each() with setInterval
<p>I have an object filled with various elements that I wish to iterate through using <code>each()</code> and then perform an action on the element whose turn it is. So:</p>

<pre><code>var arts = $("#press-sqs &gt; article");
shuffle(arts);

$(arts).each(function(){
    setInterval(function() {
    // in here perform an action on the current element in 'arts'
    }, 2000);   
}); 
</code></pre>

<p>( <code>shuffle()</code> is a basic shuffle function )</p>

<p>What I can't figure out is how to access the current element as a selector and perform an action on it. <code>$(this)</code> is <code>$(window)</code>.</p>

<p>Finally I would then need the function to start the iteration again once it reaches the end of <code>art</code> and keep on looping ad infinitum.</p>
