Response title
This is preview!
I'm looking for each div to fadein, display for 5 seconds, fadeout. However on the last one I'm looking for it to stop (not loop) as the user will be able to navigate the content.
Thanks!
<img src="images/slide1.jpg" alt="Example" id="slideshow" />
<script>
$(function() {
$('#slideshow').fadeIn(3000, function() {
$(this).delay(1000).fadeOut(2000, function() { window.location = 'http://google.com/'; });
});
});
</script>
© 2013 jQuery Foundation
Sponsored by and others.