I'm new to this but managed the following. How do I start it over after user has clicked through three images?
<button onclick="slideSwitch()">Click me</button>
<div id="slideshow">
<img src="image1.jpg" style="position:absolute;" class="active" />
<img src="image2.jpg" style="position:absolute;" />
<img src="image3.jpg" style="position:absolute;" />
</div>
function slideSwitch() {
var $active = $('div#slideshow IMG.active');
var $next = $active.next();
$next.addClass('active');
$active.removeClass('active');
}