Team:Evry/template notebook

From 2012.igem.org

(Difference between revisions)
Line 23: Line 23:
var col="black";
var col="black";
for (i=1; i <= 22; ++i)
for (i=1; i <= 22; ++i)
-
{ 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("on est en"+i);}
+
 
-
+
-
    else { col="blue"; }
+
   if (i == sPage)
   if (i == sPage)
   {
   {
Line 31: Line 29:
   }
   }
   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("on est en"+i);}
 +
 +
    else { col="blue"; }
    
    
-
     document.write("<td><a class=\"" + col + "\" 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:32, 23 August 2012

Weeks:

June July August September October November