m |
m |
||
Line 98: | Line 98: | ||
float:left; | float:left; | ||
padding: 5px 5px 5px 5px; | padding: 5px 5px 5px 5px; | ||
− | display: none; | + | //display: none; |
} | } | ||
Line 116: | Line 116: | ||
td { | td { | ||
background-color: white; | background-color: white; | ||
+ | } | ||
+ | |||
+ | .mySlides { | ||
+ | display:none; | ||
} | } | ||
Line 123: | Line 127: | ||
<div class = "full_size"> | <div class = "full_size"> | ||
− | <div class="month-calendar june"> | + | <div class="month-calendar june" style = "display:block;"> |
<table> | <table> | ||
<tr> | <tr> | ||
Line 185: | Line 189: | ||
</div> | </div> | ||
− | <div class="month-calendar july"> | + | <div class="month-calendar july" style = "display:none;"> |
<table> | <table> | ||
<tr> | <tr> | ||
Line 247: | Line 251: | ||
</div> | </div> | ||
− | <div class="month-calendar august"> | + | <div class="month-calendar august" style = "display:none;"> |
<table> | <table> | ||
<tr> | <tr> | ||
Line 309: | Line 313: | ||
</div> | </div> | ||
− | <div class="month-calendar september"> | + | <div class="month-calendar september" style = "display:none;"> |
<table> | <table> | ||
<tr> | <tr> | ||
Line 371: | Line 375: | ||
</div> | </div> | ||
− | <div class="month-calendar october"> | + | <div class="month-calendar october" style = "display:none;"> |
<table> | <table> | ||
<tr> | <tr> | ||
Line 1,856: | Line 1,860: | ||
function plusSlides(n) { | function plusSlides(n) { | ||
− | console.log(slideIndex); | + | //console.log(slideIndex); |
//showSlides(slideIndex += n); | //showSlides(slideIndex += n); | ||
//console.log("plus " + slideIndex + (n -1)); | //console.log("plus " + slideIndex + (n -1)); | ||
+ | switch (n) { | ||
+ | case -1: | ||
+ | if (slideIndex == 0) { | ||
+ | console.log("first day, back button"); | ||
+ | } | ||
+ | break; | ||
+ | case 1: | ||
+ | break | ||
+ | } | ||
slideIndex += (n+152); | slideIndex += (n+152); | ||
slideIndex %= 153; | slideIndex %= 153; | ||
choseDate(slideIndex); | choseDate(slideIndex); | ||
− | console.log(slideIndex); | + | //console.log(slideIndex); |
+ | |||
} | } | ||
Line 1,901: | Line 1,915: | ||
break; | break; | ||
case 1: | case 1: | ||
− | slideIndex = | + | slideIndex = 31; |
//choseDate(0); | //choseDate(0); | ||
break; | break; | ||
case 2: | case 2: | ||
− | slideIndex = | + | slideIndex = 62; |
//choseDate(1); | //choseDate(1); | ||
break; | break; | ||
case 3: | case 3: | ||
− | slideIndex = | + | slideIndex = 93; |
//choseDate(1); | //choseDate(1); | ||
break; | break; | ||
case 4: | case 4: | ||
− | slideIndex = | + | slideIndex = 124; |
//choseDate(1); | //choseDate(1); | ||
break; | break; | ||
default: | default: | ||
− | slideIndex = | + | slideIndex = 145; |
//choseDate(1); | //choseDate(1); | ||
break; | break; | ||
Line 1,926: | Line 1,940: | ||
for (k = 0; k < months.length; ++k) { | for (k = 0; k < months.length; ++k) { | ||
− | console.log(monthNames[k] + " has " + monthNames[n] + "?: " + months[k].className); | + | //console.log(monthNames[k] + " has " + monthNames[n] + "?: " + months[k].className); |
if(months[k].className.indexOf(monthNames[n]) > -1) { | if(months[k].className.indexOf(monthNames[n]) > -1) { | ||
months[k].style.display = "block"; | months[k].style.display = "block"; | ||
Line 1,956: | Line 1,970: | ||
function choseDate(n) { | function choseDate(n) { | ||
− | console.log("choosing date " + n); | + | //console.log("choosing date " + n); |
acc[n].classList.add("selected-date"); | acc[n].classList.add("selected-date"); | ||
for (j = 0; j < acc.length; ++j) { | for (j = 0; j < acc.length; ++j) { |
Revision as of 18:47, 16 August 2016
June | ||||||
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | ||