Year/Month Calendar Rev 2
by JayNick - uploaded on January 9, 2017, 10:11 pm
Yearly calendar can display any year. Labels events on mostly fixed holidays. Click on a month to zoom in, click on the title bar of the month to zoom out.
Defaults to the current year, but can be changed. Append a 4 digit year to the url of the SVG image, i.e. calendar2.svg?year=2000
For a month calendar, pass a number 1-12 as the month or 'now' for the current month, i.e. calendar2.svg?month=2 or calendar2.svg?month=now
To start calendar with Monday as first day of the week, pass fdow=monday, i.e. calendar2.svg?fdow=monday
Any or all parameters can be passed, i.e. calendar2.svg?month=2&year=2000&fdow=monday
To change the calendar defaults and not require passed parameters, set the Calendar Default variables in the javascript.
Code can be easily edited to add or delete events.
Comments
No comments yet.
Log in to comment.