You Want jQuery Slideshow

Basic Demo

$('#slideshow1').slideshow();

This example uses the default settings. The only important thing to do is define a height and width on the slideshow element because the slides get their CSS set to position: absolute; left: 0; top: 0 so they can share the same space.

If you don't want slideshow messing with your element's styles you can set the autoStyle option to false.