Line 7: | Line 7: | ||
</div> | </div> | ||
<h1 class="ui hidden header"></h1> | <h1 class="ui hidden header"></h1> | ||
− | <script>// fill the month table with column headings | + | <script> |
+ | // fill the month table with column headings | ||
function day_title(day_name) { | function day_title(day_name) { | ||
document.write("<div class='c-cal__col'>" + day_name + "</div>"); | document.write("<div class='c-cal__col'>" + day_name + "</div>"); | ||
Line 46: | Line 47: | ||
while (day <= month_length) { | while (day <= month_length) { | ||
document.write("<div class='c-cal__row'>"); | document.write("<div class='c-cal__row'>"); | ||
− | for (var i = 1; (i <= 7) && (day <= month_length); i++) { | + | for (var i = 1; (i <= 7)&&(day <= month_length); i++) { |
− | if ((day >= 1) && (day <= 9)) { | + | if ((day >= 1)&&(day <= 9)) { |
document.write("<div data-day='2018-" + indexMonth + "-0" + day + "'class='c-cal__cel'><p>" + day + "</p></div>"); | document.write("<div data-day='2018-" + indexMonth + "-0" + day + "'class='c-cal__cel'><p>" + day + "</p></div>"); | ||
day++; | day++; | ||
Line 60: | Line 61: | ||
} | } | ||
document.write("</div>"); | document.write("</div>"); | ||
− | }</script> | + | } |
+ | </script> | ||
<header> | <header> | ||
<div class="wrapper"> | <div class="wrapper"> |
Revision as of 13:04, 17 October 2018
Click on the date cell to see daily event :)
JANUARY
FEBRUARY
MARCH
APRIL
MAY
JUNE
JULY
AUGUST
SEPTEMBER
OCTOBER
NOVEMBER
DECEMBER