Skip to content

Alfred188/Year-Calendar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Year-Calendar

A yearly calnder plugin

  • Tested with bootstrap 4

How to use

_ 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> 

This is an image

This is an image

About

A yearlly calnder plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published