Team:KAIST-Korea/Team/Photos
From 2011.igem.org
(Difference between revisions)
Line 7: | Line 7: | ||
<script type="text/javascript" language="javascript"> | <script type="text/javascript" language="javascript"> | ||
- | NumberOfImages = | + | NumberOfImages = 5; |
ImagesLayers = new Array(NumberOfImages); | ImagesLayers = new Array(NumberOfImages); | ||
ImagesLayers[0] = "https://static.igem.org/mediawiki/igem.org/thumb/8/87/Desert.jpg/800px-Desert.jpg"; | ImagesLayers[0] = "https://static.igem.org/mediawiki/igem.org/thumb/8/87/Desert.jpg/800px-Desert.jpg"; | ||
ImagesLayers[1] = "https://static.igem.org/mediawiki/igem.org/thumb/a/a4/Hydrangeas.jpg/800px-Hydrangeas.jpg"; | ImagesLayers[1] = "https://static.igem.org/mediawiki/igem.org/thumb/a/a4/Hydrangeas.jpg/800px-Hydrangeas.jpg"; | ||
- | + | ImagesLayers[2] = "https://static.igem.org/mediawiki/igem.org/thumb/8/87/Desert.jpg/800px-Desert.jpg"; | |
+ | ImagesLayers[3] = "https://static.igem.org/mediawiki/igem.org/thumb/8/87/Desert.jpg/800px-Desert.jpg"; | ||
+ | ImagesLayers[4] = "https://static.igem.org/mediawiki/igem.org/thumb/8/87/Desert.jpg/800px-Desert.jpg"; | ||
function ImageChange_Up(){ | function ImageChange_Up(){ | ||
Line 17: | Line 19: | ||
document.myImages1.src=ImagesLayers[0]; | document.myImages1.src=ImagesLayers[0]; | ||
document.myImages2.src=ImagesLayers[1]; | document.myImages2.src=ImagesLayers[1]; | ||
+ | document.myImages3.src=ImagesLayers[2]; | ||
+ | document.myImages4.src=ImagesLayers[3]; | ||
+ | document.myImages5.src=ImagesLayers[4]; | ||
} | } | ||
Line 22: | Line 27: | ||
ImagesLayers.unshift(ImagesLayers.pop()); | ImagesLayers.unshift(ImagesLayers.pop()); | ||
document.myImages1.src=ImagesLayers[0]; | document.myImages1.src=ImagesLayers[0]; | ||
- | document.myImages2.src=ImagesLayers[1]; | + | document.myImages2.src=ImagesLayers[1]; |
+ | document.myImages3.src=ImagesLayers[2]; | ||
+ | document.myImages4.src=ImagesLayers[3]; | ||
+ | document.myImages5.src=ImagesLayers[4]; | ||
} | } | ||
Line 99: | Line 107: | ||
</div> | </div> | ||
- | |||
<div id="img"> | <div id="img"> |
Revision as of 07:38, 15 July 2011