Team:Goettingen/Team/Gallery
From 2013.igem.org
(Difference between revisions)
m |
m |
||
Line 104: | Line 104: | ||
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]); | ||
description.innerHTML = illustration; | description.innerHTML = illustration; |
Revision as of 17:42, 8 July 2013