Line 19: | Line 19: | ||
<script> | <script> | ||
− | var inactiveJuly, inactiveAugust, inactiveSeptember, activeContent; | + | var inactiveJuly, inactiveAugust, inactiveSeptember, activeContent, firstMonth, firstInactive; |
function changeContent(selector) { | function changeContent(selector) { | ||
Line 28: | Line 28: | ||
if(selector == 1){ | if(selector == 1){ | ||
activeContent = 'I'; | activeContent = 'I'; | ||
+ | firstMonth = 'A'; | ||
inactiveJuly = []; | inactiveJuly = []; | ||
inactiveAugust = [11, 14, 29]; | inactiveAugust = [11, 14, 29]; | ||
inactiveSeptember = [15, 16, 19]; | inactiveSeptember = [15, 16, 19]; | ||
+ | firstInactive = inactiveAugust; | ||
} | } | ||
else if(selector == 2){ | else if(selector == 2){ | ||
activeContent = 'R'; | activeContent = 'R'; | ||
+ | firstMonth = 'J'; | ||
inactiveJuly = [10, 12, 19]; | inactiveJuly = [10, 12, 19]; | ||
− | + | inactiveAugust = [11, 14, 29]; | |
inactiveSeptember = [15, 16, 19]; | inactiveSeptember = [15, 16, 19]; | ||
+ | firstInactive = inactiveJuly; | ||
} | } | ||
else if(selector == 3){ | else if(selector == 3){ | ||
activeContent = 'B'; | activeContent = 'B'; | ||
+ | firstMonth = 'J'; | ||
inactiveJuly = [10, 12, 19]; | inactiveJuly = [10, 12, 19]; | ||
− | + | inactiveAugust = [11, 14, 29]; | |
inactiveSeptember = [15, 16, 19]; | inactiveSeptember = [15, 16, 19]; | ||
+ | firstInactive = inactiveJuly; | ||
} | } | ||
else if(selector == 4){ | else if(selector == 4){ | ||
activeContent = 'M'; | activeContent = 'M'; | ||
+ | firstMonth = 'J'; | ||
inactiveJuly = [10, 12, 19]; | inactiveJuly = [10, 12, 19]; | ||
− | + | inactiveAugust = [11, 14, 29]; | |
inactiveSeptember = [15, 16, 19]; | inactiveSeptember = [15, 16, 19]; | ||
+ | firstInactive = inactiveJuly; | ||
} | } | ||
Line 54: | Line 62: | ||
$("#monthHeader"+ activeContent).show(); | $("#monthHeader"+ activeContent).show(); | ||
$("#tab"+activeContent).addClass("active"); | $("#tab"+activeContent).addClass("active"); | ||
− | createMonth(31, 4, | + | createMonth(31, 4, firstInactive, firstMonth); |
} | } | ||
Revision as of 20:15, 6 October 2018
PLACEHOLDER
Interlab
❯
August
❮
September
Receptor Assay
❯
July
❮
❯
August
❮
September
BRET Assay
❯
July
❮
❯
August
❮
September
Methylation Assay
❯
July
❮
❯
August
❮
September
Mo
Tu
We
Th
Fr
Sa
Su
ksjdfljslfkdjlkghjfglhkjflhgkjflhgjflghjflghkjflhj
lskdfjslkjgdlkdfjgldkjlakmflsvmclkxmfklmgdmlkcvmblcmkb
ksjdfljslfkdjlkghjfglhkjflhgkjflhgjflghjflghkjflhj
lskdfjslkjgdlkdfjgldkjlakmflsvmclkxmfklmgdmlkcvmblcmkb
ksjdfljslfkdjlkghjfglhkjflhgkjflhgjflghjflghkjflhj
lskdfjslkjgdlkdfjgldkjlakmflsvmclkxmfklmgdmlkcvmblcmkb
ksjdfljslfkdjlkghjfglhkjflhgkjflhgjflghjflghkjflhj
lskdfjslkjgdlkdfjgldkjlakmflsvmclkxmfklmgdmlkcvmblcmkb