Team:Goettingen/Team/Gallery
From 2013.igem.org
(Difference between revisions)
Line 193: | Line 193: | ||
} | } | ||
lightframe.insertBefore(bkgbox,showbox); | lightframe.insertBefore(bkgbox,showbox); | ||
- | bkgbox.onclick = function(){garPic.src = '';document.body.removeChild(lightframe);document.body.style.overflow = 'auto';} | + | bkgbox.onclick = function(){garPic.src = '';showbox.style.display = 'none'; document.body.removeChild(lightframe);document.body.style.overflow = 'auto';} |
//关闭按钮 | //关闭按钮 | ||
Line 221: | Line 221: | ||
MozOpacity = '0.2'; | MozOpacity = '0.2'; | ||
KhtmlOpacity = '0.2';}} | KhtmlOpacity = '0.2';}} | ||
- | closebtn.onclick = function(){garPic.src = '';document.body.removeChild(lightframe);document.body.style.overflow = 'auto';} | + | closebtn.onclick = function(){garPic.src = '';showbox.style.display = 'none'; document.body.removeChild(lightframe);document.body.style.overflow = 'auto';} |
Revision as of 14:01, 15 September 2013