[Solved] Simple jQuery fade in fade out image [closed]
This was the simplest I could get, its a circular gallery, it starts over when it reaches the end. Here is a fiddle: http://jsfiddle.net/KA4Zq/ var count = 1; setInterval(function() { count = ($(“.slideshow :nth-child(“+count+”)”).fadeOut().next().length == 0) ? 1 : count+1; $(“.slideshow :nth-child(“+count+”)”).fadeIn(); }, 2000); The only thing you should change is the 2000 value (2sec). … Read more