Template:Team:KIT-Kyoto/SlideShow
From 2014.igem.org
(Difference between revisions)
Line 4: | Line 4: | ||
$('.bgimg img:gt(0)').hide(); | $('.bgimg img:gt(0)').hide(); | ||
setInterval(function() { | setInterval(function() { | ||
- | $('.bgimg :first-child').fadeOut( | + | $('.bgimg :first-child').fadeOut(5000) |
- | .next('img').fadeIn( | + | .next('img').fadeIn(5000) |
.end().appendTo('.bgimg'); | .end().appendTo('.bgimg'); | ||
}, 5000); | }, 5000); | ||
}); | }); | ||
</script> | </script> |
Revision as of 12:12, 21 May 2014