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.

Tags
request+completed remix+267644 calendar event year month day date holiday birthday christmas new year new year's day valentine St. Patrick's Day April Fool's Day Earth Day Halloween Veteran's Day STEM STEAM STEAMcoded org javascript google fonts
Safe for Work?
Yes

Comments

0 Comments. Please login to comment or add your own remix.