Team:Goettingen/Team/Gallery
From 2013.igem.org
(Difference between revisions)
m |
|||
Line 40: | Line 40: | ||
<div id="gar-lab"> | <div id="gar-lab"> | ||
- | <script> | + | <script>alb = []; |
- | alb = []; | + | |
alb[0] = []; // lab的相册 | alb[0] = []; // lab的相册 | ||
- | for(j=0;j<= | + | for(j=0;j<=2;j++){ |
alb[0][j] = []; //相册每张照片 | alb[0][j] = []; //相册每张照片 | ||
Line 51: | Line 50: | ||
alb[0][1].src = 'https://static.igem.org/mediawiki/2013/f/ff/Goe-garllery-lab0.JPG'; | alb[0][1].src = 'https://static.igem.org/mediawiki/2013/f/ff/Goe-garllery-lab0.JPG'; | ||
alb[0][2].src = 'https://static.igem.org/mediawiki/2013/d/d0/Goe-gallery-lab2.jpg'; | alb[0][2].src = 'https://static.igem.org/mediawiki/2013/d/d0/Goe-gallery-lab2.jpg'; | ||
- | |||
alb[0][0].thum = 'https://static.igem.org/mediawiki/2013/thumb/f/f0/IMG_3878.JPG/120px-IMG_3878.JPG'; | alb[0][0].thum = 'https://static.igem.org/mediawiki/2013/thumb/f/f0/IMG_3878.JPG/120px-IMG_3878.JPG'; | ||
alb[0][1].thum = 'https://static.igem.org/mediawiki/2013/thumb/f/ff/Goe-garllery-lab0.JPG/120px-Goe-garllery-lab0.JPG'; | alb[0][1].thum = 'https://static.igem.org/mediawiki/2013/thumb/f/ff/Goe-garllery-lab0.JPG/120px-Goe-garllery-lab0.JPG'; | ||
alb[0][2].thum = 'https://static.igem.org/mediawiki/2013/thumb/d/d0/Goe-gallery-lab2.jpg/120px-Goe-gallery-lab2.jpg'; | alb[0][2].thum = 'https://static.igem.org/mediawiki/2013/thumb/d/d0/Goe-gallery-lab2.jpg/120px-Goe-gallery-lab2.jpg'; | ||
- | |||
alb[0][0].txt = 'Really nice weather'; | alb[0][0].txt = 'Really nice weather'; | ||
alb[0][1].txt = 'We follow the protocol'; | alb[0][1].txt = 'We follow the protocol'; | ||
alb[0][2].txt = 'We discuss our progress every week'; | alb[0][2].txt = 'We discuss our progress every week'; | ||
- | |||
- | for(j=0;j<= | + | for(j=0;j<=2;j++){ |
document.write('<img src=" '+ alb[0][j].thum + '" onclick="showGarPic(alb[0]['+ j + '].src,alb[0]['+j+'].txt,0)" style="margin-right:15px;cursor:pointer" />'); | document.write('<img src=" '+ alb[0][j].thum + '" onclick="showGarPic(alb[0]['+ j + '].src,alb[0]['+j+'].txt,0)" style="margin-right:15px;cursor:pointer" />'); | ||
} | } | ||
- | |||
Revision as of 15:21, 11 September 2013