Skip to content

Responsive JavaScript Calendar

Enable the calendar in full-screen mode by setting the fullscreen property to true. This mode activates automatically on screens narrower than 800 pixels, optimizing usability on smaller devices.

<html>
<script src="https://jsuites.net/v6/jsuites.js"></script>
<link rel="stylesheet" href="https://jsuites.net/v6/jsuites.css" type="text/css" />

<input id='calendar' />

<script>
// Create new calendar instance in full screen mode
jSuites.calendar(document.getElementById('calendar'), {
    // Enable the fullscreen mode
    fullscreen: true,
    format: 'DD/MM/YYYY HH24:MI',
    placeholder: 'DATE AND TIME',
    // Enable the hour and minute dropdowns
    time: true,
});
</script>
</html>

Explore additional use cases for the jSuites JavaScript Calendar plugin: