Difference between revisions of "Team:Utrecht/testpage"

Line 62: Line 62:
 
}
 
}
 
for(i = 1; i < lengthMonth+1;i++){
 
for(i = 1; i < lengthMonth+1;i++){
     if(((j+1) % 7) && (j % 7)))){
+
for(var i = 0; i < emptyDays; i++){
if(inactiveDays.indexOf(i) == -1){
+
cont.append('<div class = "emptyDay"></div>');
cont.append('<div class = "day" id = "day'+ activeContent + m + i + '">'+ i + '</div>');
+
j++;
 +
}
 +
for(i = 1; i < lengthMonth+1;i++){
 +
     if((j+1) % 7) {
 +
if(j % 7) {
 +
if(inactiveDays.indexOf(i) == -1){
 +
    cont.append('<div class = "day" id = "day'+ activeContent + m + i + '">'+ i + '</div>');
 +
}
 +
else{
 +
    cont.append('<div class = "inactiveDay">'+ i + ' </div>');
 +
}
 
}
 
}
 
else{
 
else{
 
cont.append('<div class = "inactiveDay">'+ i + ' </div>');
 
cont.append('<div class = "inactiveDay">'+ i + ' </div>');
}
+
}
 
}
 
}
 
else{
 
else{
cont.append('<div class = "inactiveDay">'+ i + ' </div>');
+
cont.append('<div class = "inactiveDay">'+ i + ' </div>');
 
}
 
}
 
j++
 
j++
 +
}
 +
 
}
 
}
  

Revision as of 19:06, 6 October 2018


PLACEHOLDER
July
August
September
July
August
September
July
August
September
July
August
September
Mo
Tu
We
Th
Fr
Sa
Su
ksjdfljslfkdjlkghjfglhkjflhgkjflhgjflghjflghkjflhj
lskdfjslkjgdlkdfjgldkjlakmflsvmclkxmfklmgdmlkcvmblcmkb
ksjdfljslfkdjlkghjfglhkjflhgkjflhgjflghjflghkjflhj
lskdfjslkjgdlkdfjgldkjlakmflsvmclkxmfklmgdmlkcvmblcmkb
ksjdfljslfkdjlkghjfglhkjflhgkjflhgjflghjflghkjflhj
lskdfjslkjgdlkdfjgldkjlakmflsvmclkxmfklmgdmlkcvmblcmkb
ksjdfljslfkdjlkghjfglhkjflhgkjflhgjflghjflghkjflhj
lskdfjslkjgdlkdfjgldkjlakmflsvmclkxmfklmgdmlkcvmblcmkb