Team:KAIST-Korea/Results/Gallery2

From 2011.igem.org

(Difference between revisions)
Line 41: Line 41:
// Script is free to use provided this copyright header is included.
// Script is free to use provided this copyright header is included.
// Slightly modified by Ji Han H, an undergraduate student at the Bio and Brain Engineering Department at KAIST.
// Slightly modified by Ji Han H, an undergraduate student at the Bio and Brain Engineering Department at KAIST.
-
function LoadGallery(pictureName, picturename2, imageFile,titleCaption,captionText,contentCaption, captionText2)
+
function LoadGallery(pictureName, imageFile,titleCaption,captionText,contentCaption)
{
{
   var picture = document.getElementById(pictureName);
   var picture = document.getElementById(pictureName);
Line 57: Line 57:
   }
   }
   document.getElementById(titleCaption).innerHTML=captionText;
   document.getElementById(titleCaption).innerHTML=captionText;
-
<!-- picture 2-->
 
-
  if (picture2.filters)
 
-
  {
 
-
    picture2.style.filter="blendTrans(duration=1)";
 
-
    picture2.filters.blendTrans.Apply();
 
-
  }
 
-
  picture2.src = imageFile;
 
-
  if (picture2.filters)
 
-
  {
 
-
    picture2.filters.blendTrans.Play();
 
-
  }
 
-
  document.getElementById(contentCaption).innerHTML=captionText2;
 
}
}
</script>
</script>

Revision as of 19:18, 11 August 2011