陳沛鴻 20140424 TEST-1

From 2014hs.igem.org

(Difference between revisions)
Line 1: Line 1:
<html></div></html>
<html></div></html>
 +
 +
 +
<script type="text/javascript">
 +
    $(function() {
 +
    $('.fadein img:gt(0)').hide();
 +
 +
    setInterval(function () {
 +
    $('.fadein :first-child').fadeOut()
 +
                            .next('img')
 +
                            .fadeIn()
 +
                            .end()
 +
                            .appendTo('.fadein');
 +
    }, 4000); // 4 seconds
 +
    });
 +
    </script>
 +
 +
 +
 +
 +
 +
 +
 +
 +
<center>
<center>

Revision as of 04:03, 30 April 2014


<script type="text/javascript">

   $(function() {
   $('.fadein img:gt(0)').hide();
   setInterval(function () {
   $('.fadein :first-child').fadeOut()
                            .next('img')
                            .fadeIn()
                            .end()
                            .appendTo('.fadein');
   }, 4000); // 4 seconds
   });
   </script>