Team:ETH Zurich/Templates
From 2013.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
- | <html> | + | <html> |
- | <head> | + | <head> |
- | <title>Untitled Document</title> | + | <title>Untitled Document</title> |
- | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> | + | <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
- | <script language="javascript" type="text/javascript"> | + | <script language="javascript" type="text/javascript"> |
- | img2 = new Image() | + | img2 = new Image() |
- | seconds = "2"; | + | seconds = "2"; |
- | function imgOne() | + | function imgOne() |
- | { | + | { |
- | + | setTimeout("imgTwo()", seconds * 1000); | |
- | } | + | } |
- | </script> | + | function imgTwo() |
+ | { | ||
+ | document.myimg.src = 'http://devyne.org/Images/E&B.jpg'; | ||
+ | setTimeout("imgThree()", seconds * 1000); | ||
+ | } | ||
+ | function imgThree() | ||
+ | { | ||
+ | document.myimg.src = 'http://devyne.org/family.gif'; | ||
+ | setTimeout("imgOne()", seconds * 1000); | ||
+ | } | ||
+ | </script> | ||
- | </head> | + | </head> |
- | <body onload="imgOne();"> | + | <body onload="imgOne();"> |
- | <img src=" | + | <img src="http://devyne.org/Images/babyboy1.gif" name="myimg"> |
- | </body> | + | </body> |
- | </ | + | </head> |
<html> | <html> |
Revision as of 09:16, 11 July 2013