DHTMLX Docs & Samples Explorer

Custom parent

In this mode calendar always visible by default
Source
<link rel="stylesheet" type="text/css" href="../../codebase/dhtmlxcalendar.css">
    <link rel="stylesheet" type="text/css" href="../../codebase/skins/dhtmlxcalendar_dhx_skyblue.css">
    <script src="../../codebase/dhtmlxcalendar.js"></script>
    <script>
var myCalendar;
function doOnLoad() {
    myCalendar = new dhtmlXCalendarObject("calendarHere");
    myCalendar.setDate(new Date(2013, 2, 1, 16, 0));
    myCalendar.show();
}
</script> <div style="margin-bottom:20px;">In this mode calendar always visible by default</div> <div id="calendarHere" style="position:relative;height:250px;"></div>