3

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.

1 Answer 1

6

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

$('#calendar').fullCalendar({
    editable: false
    // put further options and callbacks here
})
Sign up to request clarification or add additional context in comments.

6 Comments

Thanks! I only have 1 problem with this "full calendar" it allows the user to drag and drop the event to another day. I'm currently trying to solve this so it stays fixed on that day.
this should be configurable, wait a sec... yes there is an option: editableset it to false.
Thanks, I figured it out like a minute ago xD. Thanks a lot for your help!
No problem... but you could up vote my answer to be even more thankfull! :-P Oh my god... i feel kind of bad for that comment. :D
I would if I could, but I don't have enough reputation.
|

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.