Team:Heidelberg
From 2010.igem.org
(Difference between revisions)
Line 70: | Line 70: | ||
var notearray = new Array(); | var notearray = new Array(); | ||
var partsarray = new Array(); | var partsarray = new Array(); | ||
- | var | + | var suparray = new Array(); |
for (var i = 0; i <= 3; i++) { | for (var i = 0; i <= 3; i++) { | ||
Line 78: | Line 78: | ||
notearray[i] = new Image(); | notearray[i] = new Image(); | ||
partsarray[i] = new Image(); | partsarray[i] = new Image(); | ||
- | + | suparray[i] = new Image(); | |
} | } | ||
Line 122: | Line 122: | ||
case 5: document.getElementById("pic"+num).src =partsarray[effect].src; | case 5: document.getElementById("pic"+num).src =partsarray[effect].src; | ||
break; | break; | ||
- | case 6: document.getElementById("pic"+num).src = | + | case 6: document.getElementById("pic"+num).src =suparray[effect].src; |
break; | break; | ||
} | } |
Revision as of 07:53, 12 October 2010