admin管理员组

文章数量:1379384

I've been trying to build a basic calendar with some already predefined events on it. For this calendar there shouldn't be an option to add an event, meaning the events should be already defined in the code.

I've already tried to use jquery datepicker but I can't add events to it, I was only able to change the color of a few days.

I've been trying to build a basic calendar with some already predefined events on it. For this calendar there shouldn't be an option to add an event, meaning the events should be already defined in the code.

I've already tried to use jquery datepicker but I can't add events to it, I was only able to change the color of a few days.

Share Improve this question asked Dec 15, 2013 at 21:44 MopMop 351 gold badge1 silver badge4 bronze badges
Add a ment  | 

1 Answer 1

Reset to default 6

https://fullcalendar.io/ Try out this plugin, it should fit your needs.

$('#calendar').fullCalendar({
    editable: false
    // put further options and callbacks here
})

本文标签: How to make a basic event calendar with javascriptjQueryhtml and cssStack Overflow