1 - Carrousel minimaliste
<div class="fadein">
 <img src="http://farm3.static.flickr.com/2610/4148988872_990b6da667.jpg">
 <img src="http://farm3.static.flickr.com/2597/4121218611_040cd7b3f2.jpg">
 <img src="http://farm3.static.flickr.com/2531/4121218751_ac8bf49d5d.jpg">
</div>
In thinking about the CSS, I decided to just lock all the images into the same place using absolute positioning.

.fadein { position:relative; width:500px; height:332px; }
.fadein img { position:absolute; left:0; top:0; }
jQuery Slideshow
Now to think about the slideshow. First, I knew that I'd want to hide all the images except the first one.

$('.fadein img:gt(0)').hide();
You have to remember that the image index starts at 0. That means that we want all images after the first one to be hidden.

Next, I need a setInterval to iterate through the images every few seconds.

setInterval(function(){ },3000);
From here, I started writing this out piece by piece to get what I wanted. I needed the first image to fade out.

$('.fadein :first-child').fadeOut()
After that, I need the next image to fade in.

.next('img').fadeIn()
Then I needed to take the first image and throw it onto the end of the stack.

.end().appendTo('.fadein')
The end() resets jQuery's internal reference back to the original selection. That way, it's the :first-child that I'm appending to the end of the .fadein element and not the next('img').

That's it?
Well, yes. That's it.

$(function(){
	$('.fadein img:gt(0)').hide();
	setInterval(function(){
	 $('.fadein :first-child').fadeOut()
		 .next('img').fadeIn()
		 .end().appendTo('.fadein');}, 
	 3000);
});