Team:Evry/template notebook

From 2012.igem.org

(Difference between revisions)
Line 21: Line 21:
var i;
var i;
-
var color="black";
+
var col;
for (i=1; i <= 22; ++i)
for (i=1; i <= 22; ++i)
{
{
Line 30: Line 30:
   else
   else
   {
   {
-
     if (i in [1,2,3,8,9,10,11,12,17,18,19,20]) { color="green"; }
+
     if (i in [1,2,3,8,9,10,11,12,17,18,19,20]) { col="green"; }
-
     else { color="red"; }
+
     else { col="blue"; }
-
     document.write("<td class=\"" + color + "\"><a href=\"https://2012.igem.org/Team:Evry/Notebook/w" + i + "\">" + i + "</a>");     
+
     document.write("<td class=\"" + col + "\"><a href=\"https://2012.igem.org/Team:Evry/Notebook/w" + i + "\">" + i + "</a>");     
   }
   }
}
}

Revision as of 14:07, 23 August 2012

Weeks:

June July August September October November