Team:St Pauls London/Test Page
From 2013hs.igem.org
(Difference between revisions)
Line 3: | Line 3: | ||
<link href='http://fonts.googleapis.com/css?family=Open+Sans:300' rel='stylesheet' type='text/css'> | <link href='http://fonts.googleapis.com/css?family=Open+Sans:300' rel='stylesheet' type='text/css'> | ||
- | + | <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> | |
+ | <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> | ||
<style> | <style> | ||
body { | body { |
Revision as of 17:09, 13 June 2013
|
|
|
|
Home