jQuery slideshow: Fade in first image
Hi,
I'm using this code for a slideshow and it works well:
JS
- $(function(){
$('.fadein p:gt(0)').hide();
setInterval(function(){$('.fadein > :first-child').fadeOut(1500).next('p').fadeIn(1500).end().appendTo('.fadein');}, 3000);
});
http://jsfiddle.net/7g27j9gj/
What i want to change: Fade in the first image (currently it's immediately shown) but only at the first pass.
Thanks!