m |
m |
||
Line 994: | Line 994: | ||
<a class="next" onclick="plusSlides(1)">❯</a> | <a class="next" onclick="plusSlides(1)">❯</a> | ||
<div style="clear: both;"></div> | <div style="clear: both;"></div> | ||
− | <a onclick=" | + | <a onclick="changeMonth(-1)">❮</a> |
− | <a onclick=" | + | <a onclick="changeMonth(1)">❯</a> |
</div> | </div> | ||
<br> | <br> | ||
Line 1,073: | Line 1,073: | ||
} | } | ||
} | } | ||
+ | } | ||
+ | |||
+ | function changeMonth(n) { | ||
+ | monthIndex += (n+5); | ||
+ | monthIndex %= 5; | ||
+ | showMonth(monthIndex); | ||
} | } | ||
Revision as of 22:04, 8 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 | ||
July | ||||||
---|---|---|---|---|---|---|
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 |
31 |
August | ||||||
---|---|---|---|---|---|---|
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 | 31 | |||
September | ||||||
---|---|---|---|---|---|---|
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 | |
October | ||||||
---|---|---|---|---|---|---|
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 | 31 |