Difference between revisions of "Team:Utrecht/testpage"

Line 22: Line 22:
 
$("button").removeClass("active");
 
$("button").removeClass("active");
 
 
if(1){
+
if(selector == 1){
 
activeContent = 'I';
 
activeContent = 'I';
 
inactiveJuly = [10, 12, 19];
 
inactiveJuly = [10, 12, 19];
Line 28: Line 28:
 
inactiveSeptember = [15, 16, 19];
 
inactiveSeptember = [15, 16, 19];
 
}  
 
}  
else if(0){
+
else if(selector == 2){
 
activeContent = 'R';
 
activeContent = 'R';
 
inactiveJuly = [10, 12, 19];
 
inactiveJuly = [10, 12, 19];
Line 34: Line 34:
 
inactiveSeptember = [15, 16, 19];
 
inactiveSeptember = [15, 16, 19];
 
}
 
}
else if(0){
+
else if(selector == 3){
 
activeContent = 'B';
 
activeContent = 'B';
 
inactiveJuly = [10, 12, 19];
 
inactiveJuly = [10, 12, 19];
Line 40: Line 40:
 
inactiveSeptember = [15, 16, 19];
 
inactiveSeptember = [15, 16, 19];
 
}
 
}
else if(0){
+
else if(selector == 4){
 
activeContent = 'M';
 
activeContent = 'M';
 
inactiveJuly = [10, 12, 19];
 
inactiveJuly = [10, 12, 19];
Line 62: Line 62:
 
}
 
}
 
for(i = 1; i < lengthMonth+1;i++){
 
for(i = 1; i < lengthMonth+1;i++){
     if(((j+1) % 7) && (j % 7)){
+
     if(1){
if(1){
+
if(inactiveDays.indexOf(i) == -1){
 
cont.append('<div class = "day" id = "day'+ activeContent + m + i + '">'+ i + '</div>');
 
cont.append('<div class = "day" id = "day'+ activeContent + m + i + '">'+ i + '</div>');
 
}
 
}

Revision as of 18:55, 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