Difference between revisions of "Team:Tuebingen/Notebook"

Line 18: Line 18:
 
date.style.cssText = 'width:28px;height:28px;float:left;border:1px solid grey;overflow:hidden;color:grey;font-size:16px;text-align:center;';
 
date.style.cssText = 'width:28px;height:28px;float:left;border:1px solid grey;overflow:hidden;color:grey;font-size:16px;text-align:center;';
 
date.innerHTML = count;
 
date.innerHTML = count;
if (count == 30 && w==0) count = 0;
+
if (w == 0) if (count == 30) count = 0;
if (count == 31 && w>0) count = 0;
+
if (w > 0) if (count == 31) count = 0;
 
count++;
 
count++;
 
week.appendChild(date);
 
week.appendChild(date);

Revision as of 01:28, 18 September 2015

<
>