I used this code. for my website.
HTML
<div id="kop"> <img class="head" src="images/header_logo.png"> <img class="head" src="images/header_naam.png"> <img class="head" src="images/header_slogan.png"> </div>
CSS
#kop { position: absolute; width: 620px; height: 110px; } .head { position: absolute; top: 15px; left: 215px; width: 620px; height: 110px; }
JQuery
$(document).ready(function(e) { var delay = 3000, fadeTime = 2000; $('.head:gt(0)').hide(); setInterval(function(){ $(".head:first-child").fadeOut(fadeTime).next(".head").fadeIn(fadeTime).end().appendTo("#kop") }, delay+fadeTime); });
you may have to change something, but for me it works great. for jquery i also helped from here
source share