aboutsummaryrefslogtreecommitdiffstats
path: root/demos/datepicker
diff options
context:
space:
mode:
Diffstat (limited to 'demos/datepicker')
-rw-r--r--demos/datepicker/buttonbar.html7
-rw-r--r--demos/datepicker/default.html6
-rw-r--r--demos/datepicker/dropdown_month_year.html6
-rw-r--r--demos/datepicker/inline.html12
-rw-r--r--demos/datepicker/multiple_calendars.html23
5 files changed, 29 insertions, 25 deletions
diff --git a/demos/datepicker/buttonbar.html b/demos/datepicker/buttonbar.html
index d90796c8d..3b53528b6 100644
--- a/demos/datepicker/buttonbar.html
+++ b/demos/datepicker/buttonbar.html
@@ -9,7 +9,7 @@
<link type="text/css" href="../demos.css" rel="stylesheet" />
<script type="text/javascript">
$(function() {
- $('#date123').datepicker({
+ $('#datepicker').datepicker({
showButtonPanel: true
});
});
@@ -19,13 +19,10 @@
<div class="demo">
-<p>Date: <input type="text" id="date123"></p>
-
+<p>Date: <input type="text" id="datepicker"></p>
</div><!-- End demo -->
-
-
<div class="demo-description">
<p>This example adds a bar at the bottom of the calendar with buttons for selecting Today's date and a Done button for closing the calendar. The individual buttons are on by default if the bar is added but each can be turned off via options. The button text is customizable.</p>
diff --git a/demos/datepicker/default.html b/demos/datepicker/default.html
index b0b3ac0dc..7abcbcc17 100644
--- a/demos/datepicker/default.html
+++ b/demos/datepicker/default.html
@@ -9,7 +9,7 @@
<link type="text/css" href="../demos.css" rel="stylesheet" />
<script type="text/javascript">
$(function() {
- $("#date123").datepicker();
+ $("#datepicker").datepicker();
});
</script>
</head>
@@ -17,12 +17,10 @@
<div class="demo">
-Date: <input type="text" id="date123" />
+<p>Date: <input type="text" id="datepicker"></p>
</div><!-- End demo -->
-
-
<div class="demo-description">
<p>This is a default datepicker which is tied to a standard form input. The calendar opens in a small overlay onFocus and closes automatically onBlur if a date if selected.</p>
diff --git a/demos/datepicker/dropdown_month_year.html b/demos/datepicker/dropdown_month_year.html
index b8ce20f05..f9afd267b 100644
--- a/demos/datepicker/dropdown_month_year.html
+++ b/demos/datepicker/dropdown_month_year.html
@@ -9,7 +9,7 @@
<link type="text/css" href="../demos.css" rel="stylesheet" />
<script type="text/javascript">
$(function() {
- $('#date123').datepicker({
+ $('#datepicker').datepicker({
changeMonth: true,
changeYear: true
});
@@ -20,12 +20,10 @@
<div class="demo">
-<p>Date: <input type="text" id="date123"></p>
+<p>Date: <input type="text" id="datepicker"></p>
</div><!-- End demo -->
-
-
<div class="demo-description">
<p>This datepicker has an optional month and year dropdown added to make it easier to navigate through large timeframes. This is done by adding the changeMonth:true and changeYear:true options.</p>
diff --git a/demos/datepicker/inline.html b/demos/datepicker/inline.html
index 5682f455e..7139cf9b0 100644
--- a/demos/datepicker/inline.html
+++ b/demos/datepicker/inline.html
@@ -9,24 +9,24 @@
<link type="text/css" href="../demos.css" rel="stylesheet" />
<script type="text/javascript">
$(function() {
- $("#date123").datepicker();
+ $("#datepicker").datepicker();
});
</script>
</head>
<body>
-
<div class="demo">
-Date: <div id="date123" /></div>
+Date: <div id="datepicker" /></div>
</div><!-- End demo -->
-
-
<div class="demo-description">
-<p>This is an example of an inline date picker that is embedded in the page instead of opening in an overlay. This is done by calling .datepicker() in a div instead of an input.</p>
+<p>
+This is an example of an inline date picker that is embedded in the page instead of opening in an overlay.
+This is done by calling .datepicker() on a div instead of an input.
+</p>
</div><!-- End demo-description -->
diff --git a/demos/datepicker/multiple_calendars.html b/demos/datepicker/multiple_calendars.html
index 57854098f..3912b94d5 100644
--- a/demos/datepicker/multiple_calendars.html
+++ b/demos/datepicker/multiple_calendars.html
@@ -9,7 +9,7 @@
<link type="text/css" href="../demos.css" rel="stylesheet" />
<script type="text/javascript">
$(function() {
- $('#date123').datepicker({
+ $('#datepicker').datepicker({
numberOfMonths: 3,
showButtonPanel: true
});
@@ -20,18 +20,29 @@
<div class="demo">
-<p>Date: <input type="text" id="date123"></p>
+<p>Date: <input type="text" id="datepicker"></p>
</div><!-- End demo -->
-
-
<div class="demo-description">
-<p>This datepicker shows two months at a time by setting the numberOfMonths 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. 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.</p>
+<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>
</div><!-- End demo-description -->
-
</body>
</html>