Team:Manchester/layout/rotate
From 2013.igem.org
(Difference between revisions)
(Created page with "<html> <body> <img src="images/image1.jpg" alt="rotating image" width="400" height="300" id="rotator"> <script type="text/javascript"> (function() { var rotator = docu...") |
|||
(One intermediate revision not shown) | |||
Line 11: | Line 11: | ||
var rotator = document.getElementById('rotator'); // change to match image ID | var rotator = document.getElementById('rotator'); // change to match image ID | ||
- | var imageDir = ' | + | var imageDir = '/'; // change to match images folder |
var delayInSeconds = 2; // set number of seconds delay | var delayInSeconds = 2; // set number of seconds delay | ||
Line 17: | Line 17: | ||
// list image names | // list image names | ||
- | var images = [' | + | var images = ['Logo.jpg', 'Fabulous.jpg', 'Uom-logo.jpg']; |
Latest revision as of 13:10, 20 June 2013