Team:KAIST-Korea/test

From 2011.igem.org

(Difference between revisions)
 
(16 intermediate revisions not shown)
Line 3: Line 3:
<html>
<html>
<head>
<head>
-
<style type="text/css">
 
-
#Slideshow
 
-
{
 
-
  opacity: 1.0;             
 
-
  -moz-opacity: 1.0;
 
-
  -khtml-opacity: 1.0;
 
-
  filter: alpha(opacity=100);
 
-
}
 
-
</style>
 
<script type="text/javascript">
<script type="text/javascript">
-
 
-
var duration = 3000;
 
-
var hidtime = 2000;
 
-
var showtime = 2000;
 
function changeBackground(jihan)
function changeBackground(jihan)
Line 22: Line 9:
     if(jihan == 0)
     if(jihan == 0)
     {
     {
-
    fadeOut()
+
     document.body.style.background="url('https://static.igem.org/mediawiki/2011/2/2e/Kaist_gallery_1.jpg') no-repeat scroll center top"
-
     document.body.style.background="url('http://imgnews.jknews.co.kr/photo/2009/09/24/20090924_12537820151.jpg') no-repeat center top"
+
     }
     }
     else if(jihan == 1)
     else if(jihan == 1)
     {
     {
-
     document.body.style.background="url('http://cfs6.tistory.com/image/4/tistory/2008/03/31/03/56/47efe2470b38f') no-repeat center top"
+
     document.body.style.background="url('https://static.igem.org/mediawiki/2011/d/d6/Kaist_gallery_2.jpg') no-repeat center top"
     }
     }
     else if(jihan == 2)
     else if(jihan == 2)
Line 39: Line 25:
function SetOpa(Opa)
function SetOpa(Opa)
{
{
-
   document.body.style.opacity = Opa;
+
   element.style.opacity = Opa;
-
   document.body.style.MozOpacity = Opa;
+
   element.body.style.MozOpacity = Opa;
-
   document.body.style.KhtmlOpacity = Opa;
+
   element.body.style.KhtmlOpacity = Opa;
-
   document.body.style.filter = 'alpha(opacity=' + (Opa * 100) + ');';
+
   element.body.style.filter = 'alpha(opacity=' + (Opa * 100) + ');';
}
}
Line 76: Line 62:
</div>
</div>
-
       <img border="1" onclick="changeBackground(0)" src="http://imgnews.jknews.co.kr/photo/2009/09/24/20090924_12537820151.jpg" width="25" height="25";>
+
       <img border="1" onclick="changeBackground(0)" src="https://static.igem.org/mediawiki/2011/2/2e/Kaist_gallery_1.jpg" width="25" height="25";>
-
       <img border="1" onclick="changeBackground(1)" src="http://cfs6.tistory.com/image/4/tistory/2008/03/31/03/56/47efe2470b38f" width="25" height="25";>
+
       <img border="1" onclick="changeBackground(1)" src="https://static.igem.org/mediawiki/2011/d/d6/Kaist_gallery_2.jpg" width="25" height="25";>
       <img border="1" onclick="changeBackground(2)" src="http://news.chosun.com/site/data/img_dir/2007/12/14/2007121401109_0.jpg" width="25" height="25";>
       <img border="1" onclick="changeBackground(2)" src="http://news.chosun.com/site/data/img_dir/2007/12/14/2007121401109_0.jpg" width="25" height="25";>

Latest revision as of 19:38, 12 August 2011