Team:KAIST-Korea/test

From 2011.igem.org

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