Team:KAIST-Korea/test

From 2011.igem.org

(Difference between revisions)
Line 28: Line 28:
function changeBackground(jihan)
function changeBackground(jihan)
{
{
-
         if(jihan === 0)
+
         if(document.body)
         {
         {
               document.body.style.background="#f3f3f3 url('http://unn.campuslife.co.kr/file/Media/News/Gisa/20107/14/image/2010714105315.jpg'
               document.body.style.background="#f3f3f3 url('http://unn.campuslife.co.kr/file/Media/News/Gisa/20107/14/image/2010714105315.jpg'

Revision as of 17:48, 12 August 2011