Team:KAIST-Korea/Team/Photos/Test1
From 2011.igem.org
(Difference between revisions)
Line 32: | Line 32: | ||
Images[1] = "https://static.igem.org/mediawiki/igem.org/thumb/a/a4/Hydrangeas.jpg/800px-Hydrangeas.jpg"; | Images[1] = "https://static.igem.org/mediawiki/igem.org/thumb/a/a4/Hydrangeas.jpg/800px-Hydrangeas.jpg"; | ||
- | function | + | function ArrayChange(){ |
- | document.myImages1.src=Images[1]; | + | Images.push(Images.shift()); |
+ | } | ||
+ | |||
+ | function ImageChange_Up(){ | ||
+ | document.myImages1.src=Images[0]; | ||
+ | document.myImages2.src=Images[1]; | ||
} | } | ||
Line 67: | Line 72: | ||
- | <a href="javascript:ImageChange()"> | + | <a href="javascript:ArrayChange(); javascript:ImageChange()"> |
<img src="https://static.igem.org/mediawiki/igem.org/b/ba/Arrow-up.png" width=40; height=25; style="position:relative; left:83px; top:-460px;" /> | <img src="https://static.igem.org/mediawiki/igem.org/b/ba/Arrow-up.png" width=40; height=25; style="position:relative; left:83px; top:-460px;" /> | ||
</a> | </a> |
Revision as of 12:31, 14 July 2011