I\'m trying to do a shuffle slideshow, like this this site. It\'s a gallery with shuffle and fade but I have only this code:
Did you mean this (Using jQuery)
$(function(){
(function(){
var imgs=$('.slideshow img');
var i=0;
function shuffle()
{
$(imgs[i]).fadeIn(2000, function(){
i=(i < imgs.length-1) ? (i+1) : 0;
setTimeout(function(){
$('.slideshow img').fadeOut(2000);
shuffle();
}, 2000);
});
}
shuffle();
})();
});
DEMO.
Update: May be you want a random ordered image animation like this one.