Team:Evry/template notebook

From 2012.igem.org

(Difference between revisions)
 
(7 intermediate revisions not shown)
Line 9: Line 9:
<tr>
<tr>
  <th  colspan="3" align="center" class="green" > June  </th>
  <th  colspan="3" align="center" class="green" > June  </th>
-
  <th colspan="4" align="center" class="blue"> July  </th>
+
  <th colspan="4" align="center" class="orange"> July  </th>
  <th colspan="4" align="center" class="green"> August  </th>
  <th colspan="4" align="center" class="green"> August  </th>
-
  <th colspan="4" align="center" class="blue"> September </th>
+
  <th colspan="4" align="center" class="orange"> September </th>
  <th colspan="4" align="center" class="green"> October </th>
  <th colspan="4" align="center" class="green"> October </th>
-
  <th colspan="3" align="center" class="blue"> November </th>
+
  <th colspan="3" align="center" class="orange"> November </th>
</tr>
</tr>
<tr>
<tr>
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"; }
 +
    else { col="orange"; }
    
    
-
     document.write("<td class="green" ><a href=\"https://2012.igem.org/Team:Evry/Notebook/w" + i + "\">" + i + "</a>");     
+
     document.write("<td><a class=\"" + col + "\" href=\"https://2012.igem.org/Team:Evry/Notebook/w" + i + "\" >" + i + "</a>");     
   }
   }
}
}

Latest revision as of 16:04, 8 September 2012

Weeks:

June July August September October November