paulmortlock

Results 12 comments of paulmortlock

L.Control.FullScreen is not a constructor error after I try to add the control. map.addControl(new L.Control.FullScreen());

Although another fullscreen plugin does work. https://github.com/brunob/leaflet.fullscreen

I see the same issue. This plugin does not seem to work very well.

$("#eventCalendarHumanDate").eventCalendar({ jsonData: eventsInline, jsonDateFormat: 'human', dateFormat: 'dddd DD/MM/YYYY', txt_NextEvents: "Current Bookings:",txt_noEvents: "None", txt_SpecificEvents_prev: "", txt_SpecificEvents_after: "Bookings:", txt_next: "siguiente", txt_prev: "anterior" }); ``` var flags = $("#eventCalendarHumanDate"); var year = flags.attr('data-current-year');...

And how does one get the currently selected date.

The date currently selected, how do you get the date.

Is this right? function getmonthyearday() { var flags = $("#eventCalendarHumanDate"); var month = parseInt(flags.attr('data-current-month')) + 1; var year = parseInt(flags.attr('data-current-year')); var day = $(".current"); var x = parseInt(day.attr("rel")); }

And how do i attach to the event when you click on a date.

If anyone finds it useful I have this working. ``` function setselectedday(day) { if (day > '') { var flags = $("#eventCalendarHumanDate"); flags.find('.current').removeClass('current'); flags.find('#dayList_' + day).addClass('current'); } } function getmonthyearday()...

![image](https://github.com/user-attachments/assets/456c4f01-84fa-4b4d-b276-e5be43b3b968)