Team:Goettingen/Team/Gallery
From 2013.igem.org
(Difference between revisions)
m |
m |
||
Line 78: | Line 78: | ||
marginLeft = 'auto'; | marginLeft = 'auto'; | ||
marginRight = 'auto'; | marginRight = 'auto'; | ||
- | |||
} | } | ||
showbox.insertBefore(garPic,showbox.childNodes[0]); | showbox.insertBefore(garPic,showbox.childNodes[0]); | ||
Line 84: | Line 83: | ||
//说明 | //说明 | ||
description = document.createElement('p'); | description = document.createElement('p'); | ||
+ | with(description.style){ | ||
+ | color = 'white'; | ||
+ | fontSize = '12pt'; | ||
+ | } | ||
showbox.insertBefore(description,showbox.childNodes[1]); | showbox.insertBefore(description,showbox.childNodes[1]); | ||
Line 102: | Line 105: | ||
garPic.src = from; | garPic.src = from; | ||
document.body.insertBefore(lightframe,document.body.childNodes[0]); | document.body.insertBefore(lightframe,document.body.childNodes[0]); | ||
- | + | description.innerHTML = illustration; | |
} | } | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 17:30, 8 July 2013