Team:DTU-Denmark/calendartest2

From 2014.igem.org

(Difference between revisions)
Line 113: Line 113:
//Global variables
//Global variables
var dtToday=new Date();
var dtToday=new Date();
-
var dtMonth=dtToday.getMonth() + 1;
+
var dtMonth=dtToday.getMonth();
var Cal;
var Cal;
var MonthName=["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
var MonthName=["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
Line 182: Line 182:
vDayCount=vDayCount+1;
vDayCount=vDayCount+1;
-
if (j==Cal.Date)
+
if (j==Cal.Date && Cal.Month==dtMonth)
{
{
vCalData += GenCell(j,"selectedDate");
vCalData += GenCell(j,"selectedDate");
Line 218: Line 218:
calhtml += "\n</table>";
calhtml += "\n</table>";
document.getElementById("calendarPicker").innerHTML = calhtml;
document.getElementById("calendarPicker").innerHTML = calhtml;
-
document.write("<b>" + dtToday + dtMonth + Cal.Month +"</b>");
 
}
}

Revision as of 09:46, 18 July 2014

/*

*/

[edit] Chronological notebook

  • 27th of June:

Fluorescence We did blabla, no fluorescence.

  • 1st of July:

Headline EtOH resistance assay was continued in a narrow concentration range (Jan).

E. coli (DH5alpha) cells were transformed using BioBricks required for EtOH production (Aleksandra).

O/N cultures of E. coli and B. subtilis were set up to continue with the experiments tomorrow (Harry).