var clndr1 = $('#cal1').clndr({
daysOfTheWeek: ['日', '月', '火', '水', '木', '金', '土'],
showAdjacentMonths: false,
startWithMonth: "2025-01-01",
clickEvents: {
click: function(target) {
location.href='reserve.php?val=' + target.date._i;
}
}
});
var clndr2 = $('#cal2').clndr({
daysOfTheWeek: ['日', '月', '火', '水', '木', '金', '土'],
showAdjacentMonths: false,
startWithMonth: "2025-02-01",
clickEvents: {
click: function(target) {
location.href='reserve.php?val=' + target.date._i;
}
}
});
var clndr2 = $('#cal3').clndr({
daysOfTheWeek: ['日', '月', '火', '水', '木', '金', '土'],
showAdjacentMonths: false,
startWithMonth: "2025-03-01",
clickEvents: {
click: function(target) {
location.href='reserve.php?val=' + target.date._i;
}
}
});
$('
○
').insertAfter("td.calendar-day-2025-01-19 div.day-contents");
$('○
').insertAfter("td.calendar-day-2025-01-20 div.day-contents");
$('○
').insertAfter("td.calendar-day-2025-01-21 div.day-contents");
$('○
').insertAfter("td.calendar-day-2025-01-22 div.day-contents");
$('○
').insertAfter("td.calendar-day-2025-01-23 div.day-contents");
$('○
').insertAfter("td.calendar-day-2025-01-24 div.day-contents");
$('○
').insertAfter("td.calendar-day-2025-01-25 div.day-contents");
$('○
').insertAfter("td.calendar-day-2025-01-26 div.day-contents");
$('○
').insertAfter("td.calendar-day-2025-01-27 div.day-contents");
$('○
').insertAfter("td.calendar-day-2025-01-28 div.day-contents");
$('○
').insertAfter("td.calendar-day-2025-01-29 div.day-contents");
$('○
').insertAfter("td.calendar-day-2025-01-30 div.day-contents");
$('○
').insertAfter("td.calendar-day-2025-01-31 div.day-contents");