Team:Evry/template notebook

From 2012.igem.org

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

Revision as of 15:00, 23 August 2012

Weeks:

June July August September October November