Template:Team:Edinburgh/Code

From 2013.igem.org

(Difference between revisions)
Line 131: Line 131:
}
}
-
#calendarPicker {
+
.content {
-
   margin-top: 20px;
+
   margin-top: 30px;
}
}
Line 311: Line 311:
var vFirstDay;
var vFirstDay;
-
calhtml = "";
+
calhtml = "<p style='height:40px;'></p>";
vCalHeader="<table class=\"calendar\" border='1' cellpadding='1' cellspacing='1' align=\"center\" valign=\"top\">\n";
vCalHeader="<table class=\"calendar\" border='1' cellpadding='1' cellspacing='1' align=\"center\" valign=\"top\">\n";
Line 375: Line 375:
}
}
var vLastDay=new Date(Cal.Year,Cal.Month, Cal.GetMonDays()).getDay();
var vLastDay=new Date(Cal.Year,Cal.Month, Cal.GetMonDays()).getDay();
-
alert(vLastDay);
 
if (vLastDay == 0) vLastDay = 7;   
if (vLastDay == 0) vLastDay = 7;   
for (i=vLastDay;i<7;i++)
for (i=vLastDay;i<7;i++)

Revision as of 13:56, 29 September 2013