Team:KAIST-Korea/test
From 2011.igem.org
(Difference between revisions)
Line 22: | Line 22: | ||
bg = new Array(); | bg = new Array(); | ||
- | bg[0] = | + | 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[1] = "http://cfs6.tistory.com/image/4/tistory/2008/03/31/03/56/47efe2470b38f' |
- | bg[2] = | + | bg[2] = 'http://news.chosun.com/site/data/img_dir/2007/12/14/2007121401109_0.jpg' |
function changeBackground(jihan) | function changeBackground(jihan) | ||
Line 32: | Line 32: | ||
// style.backgroundImage="url('URL')|none|inherit" | // style.backgroundImage="url('URL')|none|inherit" | ||
- | document.body.style.background="#f3f3f3 url( | + | document.body.style.background="#f3f3f3 url(bg[jihan]) no-repeat right top"; |
} | } | ||
} | } |
Revision as of 16:46, 12 August 2011