aboutsummaryrefslogtreecommitdiffstats
path: root/demos/datepicker
diff options
context:
space:
mode:
authorTodd Parker <fg.todd@gmail.com>2008-12-30 16:45:42 +0000
committerTodd Parker <fg.todd@gmail.com>2008-12-30 16:45:42 +0000
commit8ea536f5c9c82ced4d682f5d7a1904da55fc430d (patch)
treead01c8725fe287df36e6d1c74a2074fb3873632f /demos/datepicker
parent7b36620e6cd651cbf36904e853330fb752a207eb (diff)
downloadjquery-ui-8ea536f5c9c82ced4d682f5d7a1904da55fc430d.tar.gz
jquery-ui-8ea536f5c9c82ced4d682f5d7a1904da55fc430d.zip
Added wrappers for demo and description for each page.
Diffstat (limited to 'demos/datepicker')
-rw-r--r--demos/datepicker/buttonbar.html11
-rw-r--r--demos/datepicker/default.html12
-rw-r--r--demos/datepicker/dropdown_month_year.html10
-rw-r--r--demos/datepicker/inline.html14
-rw-r--r--demos/datepicker/multiple_calendars.html12
5 files changed, 57 insertions, 2 deletions
diff --git a/demos/datepicker/buttonbar.html b/demos/datepicker/buttonbar.html
index 69f645634..af9e17306 100644
--- a/demos/datepicker/buttonbar.html
+++ b/demos/datepicker/buttonbar.html
@@ -15,9 +15,20 @@
</head>
<body>
+<div class="demo">
<p>Date: <input type="text" id="date123"></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>
+
+</div><!-- End demo-description -->
+
</body>
</html>
diff --git a/demos/datepicker/default.html b/demos/datepicker/default.html
index e3fb22208..c4efbb4ec 100644
--- a/demos/datepicker/default.html
+++ b/demos/datepicker/default.html
@@ -15,7 +15,19 @@
</head>
<body>
+<div class="demo">
+
Date: <input type="text" id="date123" />
+</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>
+
+</div><!-- End demo-description -->
+
</body>
</html>
diff --git a/demos/datepicker/dropdown_month_year.html b/demos/datepicker/dropdown_month_year.html
index b5f7baa6e..6085137c4 100644
--- a/demos/datepicker/dropdown_month_year.html
+++ b/demos/datepicker/dropdown_month_year.html
@@ -15,9 +15,19 @@
</head>
<body>
+<div class="demo">
<p>Date: <input type="text" id="date123"></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>
+
+</div><!-- End demo-description -->
</body>
</html>
diff --git a/demos/datepicker/inline.html b/demos/datepicker/inline.html
index 0221bfbbf..2ff26e32e 100644
--- a/demos/datepicker/inline.html
+++ b/demos/datepicker/inline.html
@@ -1,7 +1,7 @@
<!doctype html>
<html lang="en">
<head>
- <title>jQuery UI Datepicker - Default Demo</title>
+ <title>jQuery UI Datepicker - Inline 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>
@@ -16,7 +16,19 @@
<body>
+<div class="demo">
+
Date: <div id="date123" /></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>
+
+</div><!-- End demo-description -->
+
</body>
</html>
diff --git a/demos/datepicker/multiple_calendars.html b/demos/datepicker/multiple_calendars.html
index 2b4cf573a..542ff7ebe 100644
--- a/demos/datepicker/multiple_calendars.html
+++ b/demos/datepicker/multiple_calendars.html
@@ -9,15 +9,25 @@
<script type="text/javascript" src="../../ui/ui.datepicker.js"></script>
<script type="text/javascript">
$(function() {
- $('#date123').datepicker({numberOfMonths: 3, showButtonPanel: true});
+ $('#date123').datepicker({numberOfMonths: 2, showButtonPanel: true});
});
</script>
</head>
<body>
+<div class="demo">
<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 -->
</body>