jQuery set timeout cycle through links
<p>I have an <code>li</code> with 6 links. Each link triggers the change of an image and fetches content via AJAX to be displayed in elements on the page. Each link has a unique <code>id</code>. (e.g. "linkFirstSlide", "linkSecondSlide", etc.)</p>

<p>Is it possible to set a timer of 5 seconds that each iteration triggers the click of the next <code>li</code> link?</p>

<p>So say on page load it triggers <code>$("#linkFirstSlide").click()</code> then 5 seconds later it triggers <code>$("#linkSecondSlide").click()</code> until it gets to the end in which case then proceeds back to the beginning.</p>

<p>I am trying to build a carousel without actually using a carousel plugin as I require a lot of actions to happen on each click.</p>

<p>Cheers</p>
