2008-12-30 04:16:51 +00:00
|
|
|
<!doctype html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
2008-12-31 22:16:02 +00:00
|
|
|
<title>jQuery UI Datepicker - Multiple Calendars Demo</title>
|
2009-01-07 02:36:51 +00:00
|
|
|
<link type="text/css" href="../../themes/base/ui.all.css" rel="stylesheet" />
|
2009-01-13 00:49:10 +00:00
|
|
|
<script type="text/javascript" src="../../jquery-1.3rc2.js"></script>
|
2008-12-30 04:16:51 +00:00
|
|
|
<script type="text/javascript" src="../../ui/ui.core.js"></script>
|
|
|
|
<script type="text/javascript" src="../../ui/ui.datepicker.js"></script>
|
2008-12-31 06:29:31 +00:00
|
|
|
<link type="text/css" href="../demos.css" rel="stylesheet" />
|
2008-12-30 04:16:51 +00:00
|
|
|
<script type="text/javascript">
|
|
|
|
$(function() {
|
2009-01-01 00:27:45 +00:00
|
|
|
$('#datepicker').datepicker({
|
2008-12-30 18:23:21 +00:00
|
|
|
numberOfMonths: 3,
|
|
|
|
showButtonPanel: true
|
|
|
|
});
|
2008-12-30 04:16:51 +00:00
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
2008-12-30 16:45:42 +00:00
|
|
|
<div class="demo">
|
2008-12-30 04:16:51 +00:00
|
|
|
|
2009-01-01 00:27:45 +00:00
|
|
|
<p>Date: <input type="text" id="datepicker"></p>
|
2008-12-30 04:16:51 +00:00
|
|
|
|
2008-12-30 16:45:42 +00:00
|
|
|
</div><!-- End demo -->
|
|
|
|
|
|
|
|
<div class="demo-description">
|
|
|
|
|
2009-01-01 00:27:45 +00:00
|
|
|
<p>
|
|
|
|
This datepicker shows three months at a time by setting the <code>numberOfMonths</code> option to 3.
|
|
|
|
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.
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<div style="padding: 0pt 0.7em; margin-top: 20px;" class="ui-state-highlight ui-corner-all">
|
|
|
|
<p>
|
|
|
|
<span style="float: left; margin-right: 0.3em;" class="ui-icon ui-icon-info"></span>
|
|
|
|
<strong>Note:</strong>
|
|
|
|
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 plugin (v1.5.3).
|
|
|
|
</p>
|
|
|
|
</div>
|
2008-12-30 16:45:42 +00:00
|
|
|
|
|
|
|
</div><!-- End demo-description -->
|
2008-12-30 04:16:51 +00:00
|
|
|
|
|
|
|
</body>
|
|
|
|
</html>
|