Team:KAIST-Korea/Team/Photos/Test1
From 2011.igem.org
(Difference between revisions)
Line 25: | Line 25: | ||
} | } | ||
- | function ImageMag(number){ | + | function ImageMag(name, number){ |
- | var Image = document. | + | var Image = document.getElementByName(name); |
- | document. | + | if (Image.filters) |
+ | { | ||
+ | Image.style.filter="blendTrans(duration=1)"; | ||
+ | Image.filters.blendTrans.Apply(); | ||
+ | } | ||
+ | document.Image.src=ImagesLayers[number]; | ||
+ | if (Image.filters) | ||
+ | { | ||
+ | Image.filters.blendTrans.Play(); | ||
+ | } | ||
} | } | ||
Line 67: | Line 76: | ||
<tr > | <tr > | ||
<td > | <td > | ||
- | <a href="javascript:ImageMag(0);"> | + | <a href="javascript:ImageMag('WindowImage', 0);"> |
<img src="https://static.igem.org/mediawiki/igem.org/thumb/8/87/Desert.jpg/800px-Desert.jpg" name="myImages1" style="padding:10px;" width=160; height=140; /> | <img src="https://static.igem.org/mediawiki/igem.org/thumb/8/87/Desert.jpg/800px-Desert.jpg" name="myImages1" style="padding:10px;" width=160; height=140; /> | ||
</a> | </a> | ||
Line 74: | Line 83: | ||
<tr > | <tr > | ||
<td > | <td > | ||
- | <a href="javascript:ImageMag(1);"> | + | <a href="javascript:ImageMag('WindowImage', 1);"> |
<img src="https://static.igem.org/mediawiki/igem.org/thumb/a/a4/Hydrangeas.jpg/800px-Hydrangeas.jpg" name="myImages2" style="padding:10px;" width=160; height=140/> | <img src="https://static.igem.org/mediawiki/igem.org/thumb/a/a4/Hydrangeas.jpg/800px-Hydrangeas.jpg" name="myImages2" style="padding:10px;" width=160; height=140/> | ||
</a> | </a> |
Revision as of 10:04, 15 July 2011