Team:KAIST-Korea/Team/Photos
From 2011.igem.org
(Difference between revisions)
Line 36: | Line 36: | ||
} | } | ||
- | function ImageMag(number){ | + | function ImageMag(name, number){ |
- | document. | + | var Image = document.getElementById(name); |
+ | |||
+ | if (Image.filters) | ||
+ | { | ||
+ | Image.style.filter="blendTrans(duration=1)"; | ||
+ | Image.filters.blendTrans.Apply(); | ||
+ | } | ||
+ | Image.src=ImagesLayers[number]; | ||
+ | |||
+ | if (Image.filters) | ||
+ | { | ||
+ | Image.filters.blendTrans.Play(); | ||
+ | } | ||
} | } | ||
Revision as of 13:34, 20 July 2011