A yearly calnder plugin
- Tested with bootstrap 4
_ place this part in header
<link href="~/year-calendar.css" rel="stylesheet" type="text/css">
_ place this parts before body end tag
<script src="~/year-calendar.js" type='text/javascript'></script>
<script>
$('#calendar').Calendar({year:'2022', //default year to preview, years start from 2022
displayYear:9, //Count of years
yearly: true,
date:[{"date":"2022-01-27","color":"danger","title":"MyTitle","text":"MyText"}, //date list to mark on calendar
{"date":"2022-02-02","color":"secondary","title":"MyTitle","text":"MyText"},
{"date":"2022-02-28","color":"warning","title":"MyTitle","text":"MyText"},
{"date":"2022-05-28","color":"info","title":"MyTitle","text":"MyText"},
{"date":"2022-04-28","color":"dark","title":"MyTitle","text":"MyText"},
{"date":"2022-04-29","color":"primary","title":"MyTitle","text":"MyText"},
{"date":"2022-03-07","color":"success","title":"MyTitle","text":"MyText"}]});
</script>