jquery-ui/demos/datepicker/multiple_calendars.html

35 lines
1.2 KiB
HTML
Raw Normal View History

2008-12-30 04:16:51 +00:00
<!doctype html>
<html lang="en">
<head>
<title>jQuery UI Datepicker - Default Demo</title>
<link type="text/css" href="../demos.css" rel="stylesheet" />
<link type="text/css" href="../../themes/default/ui.all.css" rel="stylesheet" />
<script type="text/javascript" src="../../jquery-1.2.6.js"></script>
<script type="text/javascript" src="../../ui/ui.core.js"></script>
<script type="text/javascript" src="../../ui/ui.datepicker.js"></script>
<script type="text/javascript">
$(function() {
$('#date123').datepicker({numberOfMonths: 2, showButtonPanel: true});
2008-12-30 04:16:51 +00:00
});
</script>
</head>
<body>
<div class="demo">
2008-12-30 04:16:51 +00:00
<p>Date: <input type="text" id="date123"></p>
</div><!-- End demo -->
<div class="demo-description">
<p>This datepicker shows two months at a time by setting the numberOfMonths option to 2. This can be set to any number that will fit within your layout. The multiple calendars are used to make it easier to visually scan across months and make a selection. This is not a date range picker. In a future release, a custom date range plugin will be added. For users that want to use the old date range picker built into the datepicker, they must use the previous version of this plug.</p>
</div><!-- End demo-description -->
2008-12-30 04:16:51 +00:00
</body>
</html>