Team:Goettingen/Team/Gallery
From 2013.igem.org
(Difference between revisions)
m |
|||
Line 103: | Line 103: | ||
function showGarPic(from,illustration){ | function showGarPic(from,illustration){ | ||
garPic.src = from; | garPic.src = from; | ||
- | + | ||
with(showbox.style){ | with(showbox.style){ | ||
- | + | width = getComputedStyle(garPic,null).width; | |
- | + | marginLeft = 'auto'; | |
- | + | marginRight = 'auto'; | |
} | } | ||
document.body.insertBefore(lightframe,document.body.childNodes[0]); | document.body.insertBefore(lightframe,document.body.childNodes[0]); |
Revision as of 17:49, 8 July 2013