Changing Fullcalendar operation

2

Good evening, I'm changing the operation of the Fullcalendar template link , to suit what I need. When clicking on the link, you can see that on day 12 there is a link called more , which when clicking opens the complete list of events. I wanted to expand the area of this link to the entire frame, and when I clicked the frame, I opened a modal, so I put a brief description in the event next to the title, not just the list with the titles. Thanks!

    
asked by anonymous 17.11.2017 / 00:39

1 answer

0

Reference: link

$("#calendar").fullCalendar({
events: [
    {
        title: "Test event",
        id: "821",
        end: "2018-03-18 14:00:00",
        start: "2018-03-20 06:00:00",
        description: "Event is the best"
    }
],
eventClick:function(calEvent){
    var content = calEvent.title +'<br>' + calEvent.description;
    $('.bs-example-modal-lg .modal-body').html(content);
    $('.bs-example-modal-lg').css({'z-index':'9999999'}).modal('show');
}
});
    
16.03.2018 / 02:11