Team:KAIST-Korea/Results/Gallery2

From 2011.igem.org

(Difference between revisions)
Line 36: Line 36:
<script  type="text/javascript">
<script  type="text/javascript">
-
// Gallery script.
 
-
// With image cross fade effect for those browsers that support it.
 
-
// Script copyright (C) 2004 www.cryer.co.uk.
 
-
// 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.
 
-
function LoadGallery(pictureName, imageFile,titleCaption,captionText)
 
-
{
 
-
  var picture = document.getElementById(pictureName);
 
-
  if (picture.filters)
 
-
  {
 
-
    picture.style.filter="blendTrans(duration=1)";
 
-
    picture.filters.blendTrans.Apply();
 
-
  }
 
-
  picture.src = imageFile;
 
-
  if (picture.filters)
 
-
  {
 
-
    picture.filters.blendTrans.Play();
 
-
  }
 
-
  document.getElementById(titleCaption).innerHTML=captionText;
 
-
}
 
</script>
</script>
-
<!-- Background Image place holder -->
 
-
<div id="kaistcontent"
 
-
        style="
 
-
                z-value:100;
 
-
                top:800px;
 
-
                left:0px;
 
-
                height:500px;
 
-
                width:1000px;
 
-
                position:absolute;>
 
-
                <img border="1" src="" id="iGEM_Gallery" width="1000" height="500">
 
-
</div>
 
-
          <a href="#_self" onclick="LoadGallery('iGEM_Gallery','icon','http://upload.wikimedia.org/wikipedia/en/8/8f/Seal_of_KAIST.png',
 
-
 
-
'iGEMGalleryCaption', 'KAIST Emblem')"><img border="0"
 
-
 
-
src="http://upload.wikimedia.org/wikipedia/en/8/8f/Seal_of_KAIST.png"
 
-
 
-
id="iGEM_Gallery" width="40" height="40" style="border: 5px solid
 
-
 
-
#2E2E2E;">
 
-
    </a>
 
</body>
</body>
</html>
</html>

Revision as of 14:40, 12 August 2011