Team:Goettingen/Team/Gallery
From 2013.igem.org
(Difference between revisions)
Line 82: | Line 82: | ||
if(navigator.appName.substring(0,1) == 'M') {document.body.style.position = 'absolute';} | if(navigator.appName.substring(0,1) == 'M') {document.body.style.position = 'absolute';} | ||
+ | currentAlb = 0; | ||
//lightbox骨架 | //lightbox骨架 | ||
Line 251: | Line 252: | ||
- | function go2left( | + | function go2left(){ |
+ | var f = currentAlb; | ||
for(j=0;j<alb[f].length;j++){ if (garPic.src == alb[f][j].src) break;} | for(j=0;j<alb[f].length;j++){ if (garPic.src == alb[f][j].src) break;} | ||
if(j == 0) { | if(j == 0) { | ||
Line 268: | Line 270: | ||
} | } | ||
- | function go2right( | + | function go2right(){ |
+ | var f = currentAlb; | ||
for(j=0;j<alb[f].length;j++){ if (garPic.src == alb[f][j].src) break;} | for(j=0;j<alb[f].length;j++){ if (garPic.src == alb[f][j].src) break;} | ||
if(j == alb[f].length - 1) { | if(j == alb[f].length - 1) { |
Revision as of 15:41, 22 July 2013