Team:KAIST-Korea/Team/Photos/Test1

From 2011.igem.org

(Difference between revisions)
 
(15 intermediate revisions not shown)
Line 11: Line 11:
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";
-
 
+
-
Images = new Array(NumberOfImages);
+
-
Images[0] =
+
function ImageChange_Up(){
function ImageChange_Up(){
Line 27: Line 25:
}
}
-
function ImageMag(){
+
function ImageMag(name, number){
-
         Images = new Array(NumberOfImages);
+
         var Image = document.getElementById(name);
-
         Images[0] = ImagesLayers[0];
+
          
-
         Images[1] = ImagesLayers[1];
+
        if (Image.filters)
 +
        {
 +
        Image.style.filter="blendTrans(duration=1)";
 +
         Image.filters.blendTrans.Apply();
 +
        }
 +
        Image.src=ImagesLayers[number];
          
          
 +
        if (Image.filters)
 +
        {
 +
        Image.filters.blendTrans.Play();
 +
        }     
 +
}     
          
          
</script>
</script>
Line 70: Line 78:
<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 77: Line 85:
<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>
Line 93: Line 101:
<tr >
<tr >
<td >
<td >
 +
<img src="https://static.igem.org/mediawiki/igem.org/thumb/8/87/Desert.jpg/800px-Desert.jpg" style="padding:10px;" id="WindowImage" width=720; height=580;>
</td>
</td>
</tr>
</tr>

Latest revision as of 13:31, 20 July 2011

Menu
Menu Menu