You can alter the navigation of the calendar in several ways:
year | integer | Initialize the calendar in a different year than the current year. |
---|---|---|
month | integer | Initialize the calendar in a different month than the current month (January=1, December=12). |
show_previous | boolean|integer | Disable the navigation to previous months completely or only allow a maximum number of months. |
show_next | boolean|integer | Disable the navigation to next months completely or only allow a maximum number of months. |
<!-- set the calendar to March 2015
do not allow previous months and only
allow 2 months in the future -->
<script type="application/javascript">
$(document).ready(function () {
$("#my-calendar").zabuto_calendar({
year: 2015,
month: 3,
show_previous: false,
show_next: 2
});
});
</script>