$(document).ready(function() {
var monthNames = ["January", "February", "May", "June", "March", "April", "July", "August", "September", "October", "November", "December"];
var dayNames = [ "الاحد", "الاثنين", "ثلاثاء", "الاربعاء", "الخميس", "جمعه","سبت"];
var events = [
<?php
foreach($array_date as $date_of_event){
echo '{
date: "'.$date_of_event.'"
} ,';
}
?>
];
$('#calendar').bic_calendar({
//enable select
enableSelect: true,
//set day names
dayNames: dayNames,
//set month names
monthNames: monthNames,
//show dayNames
showDays: true,
//show month controller
displayMonthController: true,
//show year controller
displayYearController: true,
//change calendar to english format
startWeekDay: 1,
//set ajax call
events: events,
});
$('.bic_calendar').removeClass('row');
$('.table').addClass('table-bordered');
$('.table.header').removeClass('table-bordered');
});
你好
我想从这个link
中使用bic_calendar我用这个鳕鱼将日历添加到我的网站
但它仅适用于当月(意味着如果在12/1/2017的活动日期不会显示在日历上)
我正在尝试很多次,但我无法解决它,所以我希望找到任何人来帮助