Template:CSS/UT-Tokyo/Counter/Contents

From 2014.igem.org

(Difference between revisions)
Line 486: Line 486:
var list = new Array(7);
var list = new Array(7);
-
list(0) = "Project";
+
list[0] = "Project";
-
list(1) = "Result";
+
list[1] = "Result";
-
list(2) = "Lab";
+
list[2] = "Lab";
-
list(3) = "Modeling";
+
list[3] = "Modeling";
-
list(4) = "Achievement";
+
list[4] = "Achievement";
-
list(5) = "Attribution";
+
list[5] = "Attribution";
-
list(6) = "Humanpractice";
+
list[6] = "Humanpractice";
var i;
var i;
for(i = 0;i<7;i++){
for(i = 0;i<7;i++){
-
if(list(i) != name){
+
if(list[i] != name){
-
close(list(i));
+
close(list[i]);
}
}
}
}

Revision as of 14:39, 17 October 2014