Team:Goettingen/Team/Gallery
From 2013.igem.org
(Difference between revisions)
m |
|||
Line 34: | Line 34: | ||
===In the Lab=== | ===In the Lab=== | ||
<html> | <html> | ||
+ | <script> | ||
+ | </script> | ||
+ | |||
+ | <div id="gar-lab"></div> | ||
+ | |||
<script> | <script> | ||
garLab = []; | garLab = []; | ||
garLabP = []; | garLabP = []; | ||
+ | garLabT = []; | ||
garLabP[0] = 'https://static.igem.org/mediawiki/2013/f/f0/IMG_3878.JPG'; | garLabP[0] = 'https://static.igem.org/mediawiki/2013/f/f0/IMG_3878.JPG'; | ||
garLabP[1] = 'https://static.igem.org/mediawiki/2013/f/ff/Goe-garllery-lab0.JPG'; | garLabP[1] = 'https://static.igem.org/mediawiki/2013/f/ff/Goe-garllery-lab0.JPG'; | ||
Line 43: | Line 49: | ||
for(j=0;j<3;j++){ | for(j=0;j<3;j++){ | ||
garLab[j] = document.createElement('img'); | garLab[j] = document.createElement('img'); | ||
- | garLab[j]. | + | with(garLab[j].style){ |
- | + | marginRight = '5px' | |
+ | } | ||
+ | } | ||
Line 50: | Line 58: | ||
garLab[1].src = 'https://static.igem.org/mediawiki/2013/thumb/f/ff/Goe-garllery-lab0.JPG/120px-Goe-garllery-lab0.JPG'; | garLab[1].src = 'https://static.igem.org/mediawiki/2013/thumb/f/ff/Goe-garllery-lab0.JPG/120px-Goe-garllery-lab0.JPG'; | ||
garLab[2].src = 'https://static.igem.org/mediawiki/2013/thumb/d/d0/Goe-gallery-lab2.jpg/120px-Goe-gallery-lab2.jpg'; | garLab[2].src = 'https://static.igem.org/mediawiki/2013/thumb/d/d0/Goe-gallery-lab2.jpg/120px-Goe-gallery-lab2.jpg'; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
garlab = document.getElementById('gar-lab') | garlab = document.getElementById('gar-lab') | ||
for(j=0;j<=2;j++){ | for(j=0;j<=2;j++){ | ||
- | garlab.insertBefore(garLab[ | + | garlab.insertBefore(garLab[j],garlab.childNodes[j]); |
} | } | ||
</script> | </script> |
Revision as of 19:05, 8 July 2013