Team:Evry/template notebook

From 2012.igem.org

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

Revision as of 13:57, 23 August 2012

Weeks:

June July August September October November