I created a basic background image cross fader using the code found at http://jsfiddle.net/jRDkm/2/. This code was inspired by .
However, I'm encountering an issue where the slideshow only repeats once before fading to white. How can I modify the code to make it continuously repeat?
Here is the JS code:
function slideshow() {
$('#fullscreen-slider li:gt(0)').hide();
setInterval(function(){
$('#fullscreen-slider :first-child').fadeOut()
.next('li').fadeIn()
.end().appendTo('#fullscreen-slider');
}, 3000);
};