Team:KAIST-Korea/Results/Gallery2

From 2011.igem.org

(Difference between revisions)
Line 3: Line 3:
<html>
<html>
<head>
<head>
-
<style type="text/css">
+
<script type="text/javascript">
-
</style>
+
bg = new Array();
 +
bg[0] = "http://unn.campuslife.co.kr/file/Media/News/Gisa/20107/14/image/2010714105315.jpg"
 +
bg[1] = "http://cfs6.tistory.com/image/4/tistory/2008/03/31/03/56/47efe2470b38f"
 +
bg[2] = "http://news.chosun.com/site/data/img_dir/2007/12/14/2007121401109_0.jpg"
 +
 
 +
function changeBackground(jihan)
 +
{
 +
      if(document.body)
 +
      {
 +
            document.body.background = bg[jihan];
 +
      }
 +
}
 +
</script>
</head>
</head>
<body>
<body>
Line 16: Line 28:
</a>
</a>
</div>
</div>
 +
 +
 +
 +
</body>
</body>
</html>
</html>

Revision as of 15:18, 12 August 2011