Check out Jonathan Snook’s blog post and the ‘Simplest jQuery Slideshow Plugin’ project page on GitHub.
$(function() { $('.slideshow').slideshow({ timeout: 2000, speed: 300 });});