Team:Goettingen/suplement/scripts

From 2013.igem.org

(Difference between revisions)
Line 69: Line 69:
     var x = 0;
     var x = 0;
var text = '<span id="slide-ctrl-1">';
var text = '<span id="slide-ctrl-1">';
-
for(x=0;x<=e.length;x++){
+
for(x=0;x<e.length;x++){
if (x==(picSlide_i-1)) { text += '<img src="https://static.igem.org/mediawiki/2013/9/9d/Goe-this.png" />' ;}
if (x==(picSlide_i-1)) { text += '<img src="https://static.igem.org/mediawiki/2013/9/9d/Goe-this.png" />' ;}
else { text += '<img src="https://static.igem.org/mediawiki/2013/4/4c/Goe-notThis.png" onclick="picSlide_i = ' + x + ';stopslide(); startslide()" />';}
else { text += '<img src="https://static.igem.org/mediawiki/2013/4/4c/Goe-notThis.png" onclick="picSlide_i = ' + x + ';stopslide(); startslide()" />';}

Revision as of 19:23, 2 July 2013