Team:KAIST-Korea/test

From 2011.igem.org

(Difference between revisions)
Line 5: Line 5:
bg = new Array();
bg = new Array();
bg[0] = "http://unn.campuslife.co.kr/file/Media/News/Gisa/20107/14/image/2010714105315.jpg"
bg[0] = "http://unn.campuslife.co.kr/file/Media/News/Gisa/20107/14/image/2010714105315.jpg"
-
bg[1] = "http://unn.campuslife.co.kr/file/Media/News/Gisa/20107/14/image/2010714105315.jpg"
+
bg[1] = "http://www.applclub.com/data/file/AAAAA/990566244_4gXLnJRS_333.jpg"
 +
bg[2] = "http://news.chosun.com/site/data/img_dir/2007/12/14/2007121401109_0.jpg"
function changeBackground(jihan)
function changeBackground(jihan)
Line 16: Line 17:
</script>
</script>
<body>
<body>
-
        <input type="button" onclick="changeBackground(1)" value="Please Click me!" width = 100px; height = 1000px;/>
+
 
-
        <img border="1" onclick="changeBackground(1)" src="http://imgnews.jknews.co.kr/photo/2009/09/24/20090924_12537820151.jpg" width="25" height="25";>
+
 
 +
<div id="icon_places_holder">
 +
      <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://www.applclub.com/data/file/AAAAA/990566244_4gXLnJRS_333.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";>
 +
</div>
 +
 
</body>
</body>
</head>
</head>
</html>
</html>

Revision as of 14:51, 12 August 2011