Template:Team:KIT-Kyoto/SlideShow
From 2014.igem.org
(Difference between revisions)
Line 2: | Line 2: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
$(function(){ | $(function(){ | ||
- | $(' | + | $('#bgimg img:gt(0)').hide(); |
setInterval(function() { | setInterval(function() { | ||
- | $(' | + | $('#bgimg :first-child').fadeOut(5000) |
.next('img').fadeIn(5000) | .next('img').fadeIn(5000) | ||
- | .end().appendTo(' | + | .end().appendTo('#bgimg'); |
}, 15000); | }, 15000); | ||
}); | }); | ||
</script> | </script> |
Latest revision as of 05:53, 26 September 2014