Content slider like a slideshow
<p>I have almost identical content slider like <a href="http://www.webdeveloperjuice.com/2010/01/12/lightest-jquery-content-slider-ever-made-380-bytes/" rel="nofollow">this one</a>:  </p>

<p>How could I make it rotate automatically? I have tried different ways but I cant make it work. I have tried putting a click on the link but it doesn't work:</p>

<pre><code>i=1;
function autoplay(){
$('#navPoveznica'+i).click();
i++;
if(i&gt;5){i=0};
setTimeout(autoplay, 2000);
}
</code></pre>

<p>And I called the function when DOM was <code>.ready()</code><br>
I'm really out of ideas, why doesn't this work? Can I select this way?<br>
Should I use the class of the link and <code>.each()</code>?</p>
