html
<div id="build-target"></div>
<script type="text/javascript">
$(document.body).ready(function () {
var buildTarget = $("#build-target");
buildTarget.html(
'<div id="calendar-target-01" style="width:300px;border:1px solid #888;padding: 10px;float:left;margin: 10px;"></div>'
+ '<div id="calendar-target-02" style="width:300px;border:1px solid #888;padding: 10px;float:left;margin: 10px;"></div>'
+ '<div style="clear:both;"></div>'
);
new ax5.ui.calendar({
target: document.getElementById("calendar-target-01"),
control: {
left: '<i class="fa fa-chevron-left"></i>',
yearTmpl: '%s',
monthTmpl: '%s',
right: '<i class="fa fa-chevron-right"></i>',
yearFirst: true
},
displayDate: (new Date()),
dimensions: {
height: 200,
colHeadHeight: 22
}
});
new ax5.ui.calendar({
target: document.getElementById("calendar-target-02"),
control: {
left: '<i class="fa fa-chevron-left"></i>',
yearTmpl: '%s',
monthTmpl: '%s',
right: '<i class="fa fa-chevron-right"></i>',
yearFirst: true
},
displayDate: (new Date()),
dimensions: {
height: 400,
controlHeight: 50,
itemPadding: 5
}
});
});
</script>
'AX5UI' can be used with Bootstrap theme. The development of the distribution of the various UI plug-in. When you click the link to move to AX5UI index page.
AXBoot makes it easy to build web applications with Java & HTML5 Repeatable and noise development process are resolved by AXBoot.