Team:KAIST-Korea/Results/Gallery2

From 2011.igem.org

(Difference between revisions)
 
(26 intermediate revisions not shown)
Line 12: Line 12:
function changeBackground(jihan)
function changeBackground(jihan)
{
{
-
       if(document.body)
+
       document.body.style.backgroundImage="url('http://news.chosun.com/site/data/img_dir/2007/12/14/2007121401109_0.jpg')"}
-
      {
+
 
-
            document.body.background = bg[jihan];
+
-
      }
+
-
}
+
</script>
</script>
</head>
</head>
Line 29: Line 26:
</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(1)" src="http://cfs6.tistory.com/image/4/tistory/2008/03/31/03/56/47efe2470b38f" 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";>
</body>
</body>
</html>
</html>

Latest revision as of 18:27, 12 August 2011