Team:Gaston Day School
From 2014.igem.org
(Difference between revisions)
Rgeraghty98 (Talk | contribs) |
Rgeraghty98 (Talk | contribs) |
||
Line 1: | Line 1: | ||
{{CSS/Main}} | {{CSS/Main}} | ||
<html> | <html> | ||
+ | |||
<head> | <head> | ||
+ | |||
<style type="text/css"> | <style type="text/css"> | ||
#slideshow { | #slideshow { | ||
Line 20: | Line 22: | ||
} | } | ||
</style> | </style> | ||
+ | |||
+ | <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> | ||
+ | |||
+ | <script> | ||
+ | $("#slideshow > div:gt(0)").hide(); | ||
+ | |||
+ | setInterval(function() { | ||
+ | $('#slideshow > div:first') | ||
+ | .fadeOut(1000) | ||
+ | .next() | ||
+ | .fadeIn(1000) | ||
+ | .end() | ||
+ | .appendTo('#slideshow'); | ||
+ | }, 3000); | ||
+ | </script> | ||
+ | |||
</head> | </head> | ||
<body> | <body> |
Revision as of 15:07, 9 June 2014
Pretty cool eh? This slide is proof the content can be anything.
|