Template:Team:Edinburgh/Code

From 2013.igem.org

(Difference between revisions)
Line 325: Line 325:
vCalHeader+="<tr><td class=\"calMonthYear\" colspan='7'>"+Cal.GetMonthName()+" "+Cal.Year+"</td></tr>\n";
vCalHeader+="<tr><td class=\"calMonthYear\" colspan='7'>"+Cal.GetMonthName()+" "+Cal.Year+"</td></tr>\n";
//Week day header
//Week day header
-
vCalHeader+="<tr class=\"calHeader\">";
+
vCalHeader+="<tr>";
for (i=0;i<7;i++)
for (i=0;i<7;i++)
{
{
-
vCalHeader+="<td >" +WeekDayName[i].substr(0,3)+ "</td>";
+
vCalHeader+="<td class=\"calHeader\">" +WeekDayName[i].substr(0,3)+ "</td>";
}
}
vCalHeader+="</tr>";
vCalHeader+="</tr>";

Revision as of 11:05, 29 September 2013