Team:KAIST-Korea/test

From 2011.igem.org

(Difference between revisions)
Line 4: Line 4:
<head>
<head>
<script type="text/javascript">
<script type="text/javascript">
-
 
-
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)
function changeBackground(jihan)
{
{
-
       document.body.style.background="url('http://news.chosun.com/site/data/img_dir/2007/12/14/2007121401109_0.jpg') no-repeat right top"
+
     
 +
       document.body.style.background="url('http://news.chosun.com/site/data/img_dir/2007/12/14/2007121401109_0.jpg') no-repeat center top"
}
}

Revision as of 18:31, 12 August 2011