Line 22: | Line 22: | ||
$(".monthHeader").hide(); | $(".monthHeader").hide(); | ||
$("button").removeClass("active"); | $("button").removeClass("active"); | ||
− | + | ||
+ | if(selector == 1){ | ||
activeContent = 'I'; | activeContent = 'I'; | ||
inactiveJuly = [10, 12, 19]; | inactiveJuly = [10, 12, 19]; | ||
− | + | inactiveAugust = [11, 14, 29]; | |
inactiveSeptember = [15, 16, 19]; | inactiveSeptember = [15, 16, 19]; | ||
− | + | } | |
+ | else if(selector == 2){ | ||
+ | activeContent = 'R'; | ||
+ | inactiveJuly = [10, 12, 19]; | ||
+ | inactiveAugust = [11, 14, 29]; | ||
+ | inactiveSeptember = [15, 16, 19]; | ||
+ | } | ||
+ | else if(selector == 3){ | ||
+ | activeContent = 'B'; | ||
+ | inactiveJuly = [10, 12, 19]; | ||
+ | inactiveAugust = [11, 14, 29]; | ||
+ | inactiveSeptember = [15, 16, 19]; | ||
+ | } | ||
+ | else if(selector == 4){ | ||
+ | activeContent = 'M'; | ||
+ | inactiveJuly = [10, 12, 19]; | ||
+ | inactiveAugust = [11, 14, 29]; | ||
+ | inactiveSeptember = [15, 16, 19]; | ||
+ | } | ||
// Show the current tab, and add an "active" class to the button that opened the tab | // Show the current tab, and add an "active" class to the button that opened the tab |
Revision as of 17:26, 6 October 2018
NOTEBOOK
❯
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