var calendar = new dhtmlxCalendarObject(parent,auto_draw)
where
<div id='my_calendar_here' style="width:500px; height:150px;"></div> <script> //common init code var calendar = new dhtmlxCalendarObject("my_calendar_here"); </script>
Starting from 2.5 version, folders can be initialized by object notation
var calendar = new dhtmlxCalendarObject({ some_option1:some_value_1, some_option2:some_value_2, ... some_optionN:some_value_N, })
calendar = new dhtmlxCalendarObject({ parent:"my_calendar_here", draw:true, onClick:function(){ alert("I'm clicked"); } });
var calendar = new dhtmlxDblCalendarObject(parent,auto_draw)
where
<div id='my_calendar_here' style="width:500px; height:150px;"></div> <script> //common init code var calendar = new dhtmlxDblCalendarObject("my_calendar_here"); </script>
Starting from 2.5 version, folders can be initialized by object notation
var calendar = new dhtmlxDblCalendarObject({ some_option1:some_value_1, some_option2:some_value_2, ... some_optionN:some_value_N, })
calendar = new dhtmlxDblCalendarObject({ parent:"my_calendar_here", draw:true, onClick:function(){ alert("I'm clicked"); } });