aboutsummaryrefslogtreecommitdiffstats
path: root/demos/datepicker/multiple-calendars.html
diff options
context:
space:
mode:
Diffstat (limited to 'demos/datepicker/multiple-calendars.html')
-rw-r--r--demos/datepicker/multiple-calendars.html34
1 files changed, 34 insertions, 0 deletions
diff --git a/demos/datepicker/multiple-calendars.html b/demos/datepicker/multiple-calendars.html
new file mode 100644
index 000000000..fe7d990a1
--- /dev/null
+++ b/demos/datepicker/multiple-calendars.html
@@ -0,0 +1,34 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <title>jQuery UI Datepicker - Display multiple months</title>
+ <link type="text/css" href="../../themes/base/ui.all.css" rel="stylesheet" />
+ <script type="text/javascript" src="../../jquery-1.3.1.js"></script>
+ <script type="text/javascript" src="../../ui/ui.core.js"></script>
+ <script type="text/javascript" src="../../ui/ui.datepicker.js"></script>
+ <link type="text/css" href="../demos.css" rel="stylesheet" />
+ <script type="text/javascript">
+ $(function() {
+ $('#datepicker').datepicker({
+ numberOfMonths: 3,
+ showButtonPanel: true
+ });
+ });
+ </script>
+</head>
+<body>
+
+<div class="demo">
+
+<p>Date: <input type="text" id="datepicker"></p>
+
+</div><!-- End demo -->
+
+<div class="demo-description">
+
+<p>Set the <strong>numberOfMonths</strong> option to an integer of 2 or more to show multiple months in a single datepicker.</p>
+
+</div><!-- End demo-description -->
+
+</body>
+</html>