r1690 - trunk/demos/datepicker

r1690 - trunk/demos/datepicker


Author: fg.maggie
Date: Mon Jan 19 14:42:58 2009
New Revision: 1690
Modified:
trunk/demos/datepicker/alt_field.html
trunk/demos/datepicker/buttonbar.html
trunk/demos/datepicker/date_formats.html
trunk/demos/datepicker/default.html
trunk/demos/datepicker/dropdown_month_year.html
trunk/demos/datepicker/icon_trigger.html
trunk/demos/datepicker/index.html
trunk/demos/datepicker/inline.html
trunk/demos/datepicker/localization.html
trunk/demos/datepicker/min_max.html
trunk/demos/datepicker/multiple_calendars.html
Log:
updated the demo captions, and reordered the examples navigation
Modified: trunk/demos/datepicker/alt_field.html
==============================================================================
--- trunk/demos/datepicker/alt_field.html    (original)
+++ trunk/demos/datepicker/alt_field.html    Mon Jan 19 14:42:58 2009
@@ -1,7 +1,7 @@
<!doctype html>
<html lang="en">
<head>
-    <title>jQuery UI Datepicker - Alternate Field</title>
+    <title>jQuery UI Datepicker - Populate alternate field</title>
    <link type="text/css" href="../../themes/base/ui.all.css"
rel="stylesheet" />
    <script type="text/javascript" src="../../jquery-1.3.js"></script>
    <script type="text/javascript" src="../../ui/ui.core.js"></script>
@@ -23,9 +23,7 @@
<div class="demo-description">
-

The datepicker can populate an alternate field, with its own format,
whenever a date is selected.
-    This feature might be used to present a human-friendly date for user
selection,
-    while passing a more computer-friendly date through for further
processing.





+

Populate an alternate field with its own date format whenever a date is
selected using the <strong>altField</strong> and <strong>altFormat</strong>
options. This feature could be used to present a human-friendly date for
user selection, while passing a more computer-friendly date through for
further processing.




</div><!-- End demo-description -->
Modified: trunk/demos/datepicker/buttonbar.html
==============================================================================
--- trunk/demos/datepicker/buttonbar.html    (original)
+++ trunk/demos/datepicker/buttonbar.html    Mon Jan 19 14:42:58 2009
@@ -1,7 +1,7 @@
<!doctype html>
<html lang="en">
<head>
-    <title>jQuery UI Datepicker - Button bar Demo</title>
+    <title>jQuery UI Datepicker - Display button bar</title>
    <link type="text/css" href="../../themes/base/ui.all.css"
rel="stylesheet" />
    <script type="text/javascript" src="../../jquery-1.3.js"></script>
    <script type="text/javascript" src="../../ui/ui.core.js"></script>
@@ -25,7 +25,7 @@
<div class="demo-description">
-

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.



+

Display a button for selecting Today's date and a Done button for
closing the calendar with the boolean <strong>showButtonPanel</strong>
option. Each button is enabled by default when the bar is displayed, but
can be turned off with additional options. Button text is customizable.



</div><!-- End demo-description -->
Modified: trunk/demos/datepicker/date_formats.html
==============================================================================
--- trunk/demos/datepicker/date_formats.html    (original)
+++ trunk/demos/datepicker/date_formats.html    Mon Jan 19 14:42:58 2009
@@ -1,7 +1,7 @@
<!doctype html>
<html lang="en">
<head>
-    <title>jQuery UI Datepicker - Date Formats</title>
+    <title>jQuery UI Datepicker - Format date</title>
    <link type="text/css" href="../../themes/base/ui.all.css"
rel="stylesheet" />
    <script type="text/javascript" src="../../jquery-1.3.js"></script>
    <script type="text/javascript" src="../../ui/ui.core.js"></script>
@@ -35,7 +35,7 @@
<div class="demo-description">
-

The datepicker may present the selected date in a variety of
formats.


+

Display date feedback in a variety of ways. Choose a date format from
the dropdown, then click on the input and select a date to see it in that
format.


</div><!-- End demo-description -->
Modified: trunk/demos/datepicker/default.html
==============================================================================
--- trunk/demos/datepicker/default.html    (original)
+++ trunk/demos/datepicker/default.html    Mon Jan 19 14:42:58 2009
@@ -1,7 +1,7 @@
<!doctype html>
<html lang="en">
<head>
-    <title>jQuery UI Datepicker - Default Demo</title>
+    <title>jQuery UI Datepicker - Default functionality</title>
    <link type="text/css" href="../../themes/base/ui.all.css"
rel="stylesheet" />
    <script type="text/javascript" src="../../jquery-1.3.js"></script>
    <script type="text/javascript" src="../../ui/ui.core.js"></script>
@@ -23,7 +23,7 @@
<div class="demo-description">
-

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.


+

The datepicker is tied to a standard form input field. Focus on the
input (click, or use the tab key) to open an interactive calendar in a
small overlay. Choose a date, click elsewhere on the page (blur the
input), or hit the Esc key to close. If a date is chosen, feedback is shown
as the input's value.




</div><!-- End demo-description -->
Modified: trunk/demos/datepicker/dropdown_month_year.html
==============================================================================
--- trunk/demos/datepicker/dropdown_month_year.html    (original)
+++ trunk/demos/datepicker/dropdown_month_year.html    Mon Jan 19 14:42:58 2009
@@ -1,7 +1,7 @@
<!doctype html>
<html lang="en">
<head>
-    <title>jQuery UI Datepicker - Month &amp; Year Menus Demo</title>
+    <title>jQuery UI Datepicker - Display month &amp; year menus</title>
    <link type="text/css" href="../../themes/base/ui.all.css"
rel="stylesheet" />
    <script type="text/javascript" src="../../jquery-1.3.js"></script>
    <script type="text/javascript" src="../../ui/ui.core.js"></script>
@@ -26,7 +26,7 @@
<div class="demo-description">
-

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.


+

Show month and year dropdowns in place of the static month/year header
to facilitate navigation through large timeframes. Add the boolean
<strong>changeMonth</strong> and <strong>changeYear</strong> options.


</div><!-- End demo-description -->
Modified: trunk/demos/datepicker/icon_trigger.html
==============================================================================
--- trunk/demos/datepicker/icon_trigger.html    (original)
+++ trunk/demos/datepicker/icon_trigger.html    Mon Jan 19 14:42:58 2009
@@ -1,7 +1,7 @@
<!doctype html>
<html lang="en">
<head>
-    <title>jQuery UI Datepicker - Icon Trigger</title>
+    <title>jQuery UI Datepicker - Icon trigger</title>
    <link type="text/css" href="../../themes/base/ui.all.css"
rel="stylesheet" />
    <script type="text/javascript" src="../../jquery-1.3.js"></script>
    <script type="text/javascript" src="../../ui/ui.core.js"></script>
@@ -23,9 +23,7 @@
<div class="demo-description">
-

This datepicker is triggered by clicking on the icon following the
field,
-    instead of the field gaining focus. You can also set the datepicker to
-    open in both cases.



+

Click the icon next to the input field to show the datepicker. Set the
datepicker to open on focus (default behavior), on icon click, or both.


</div><!-- End demo-description -->
Modified: trunk/demos/datepicker/index.html
==============================================================================
--- trunk/demos/datepicker/index.html    (original)
+++ trunk/demos/datepicker/index.html    Mon Jan 19 14:42:58 2009
@@ -9,16 +9,16 @@
<div class="demos-nav">
    <h4>Examples</h4>
    <ul>
-        <li class="demo-config-on"><a href="default.html">Default
datepicker</a></li>
+        <li class="demo-config-on"><a href="default.html">Default
functionality</a></li>
+        <li><a href="date_formats.html">Format date</a></li>
+        <li><a href="min_max.html">Restrict date range</a></li>
+        <li><a href="localization.html">Localize calendar</a></li>
+        <li><a href="alt_field.html">Populate alternate field</a></li>
+        <li><a href="inline.html">Display inline</a></li>
+        <li><a href="buttonbar.html">Display button bar</a></li>
+        <li><a href="dropdown_month_year.html">Display month &amp; year
menus</a></li>        
+        <li><a href="multiple_calendars.html">Display multiple months</a></li>        
        <li><a href="icon_trigger.html">Icon trigger</a></li>
-        <li><a href="dropdown_month_year.html">Month &amp; year menus</a></li>
-        <li><a href="buttonbar.html">Button bar</a></li>
-        <li><a href="multiple_calendars.html">3 month view</a></li>
-        <li><a href="inline.html">Inline</a></li>
-        <li><a href="date_formats.html">Date formats</a></li>
-        <li><a href="min_max.html">Minimum and maximum</a></li>
-        <li><a href="alt_field.html">Alternate field</a></li>
-        <li><a href="localization.html">Localization</a></li>
    </ul>
</div>
Modified: trunk/demos/datepicker/inline.html
==============================================================================
--- trunk/demos/datepicker/inline.html    (original)
+++ trunk/demos/datepicker/inline.html    Mon Jan 19 14:42:58 2009
@@ -1,7 +1,7 @@
<!doctype html>
<html lang="en">
<head>
-    <title>jQuery UI Datepicker - Inline Demo</title>
+    <title>jQuery UI Datepicker - Display inline</title>
    <link type="text/css" href="../../themes/base/ui.all.css"
rel="stylesheet" />
    <script type="text/javascript" src="../../jquery-1.3.js"></script>
    <script type="text/javascript" src="../../ui/ui.core.js"></script>
@@ -23,10 +23,7 @@
<div class="demo-description">
-


-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.
-




+

Display the datepicker embedded in the page instead of in an overlay.
Simply call .datepicker() on a div instead of an input.


</div><!-- End demo-description -->
Modified: trunk/demos/datepicker/localization.html
==============================================================================
--- trunk/demos/datepicker/localization.html    (original)
+++ trunk/demos/datepicker/localization.html    Mon Jan 19 14:42:58 2009
@@ -1,7 +1,7 @@
<!doctype html>
<html lang="en">
<head>
-    <title>jQuery UI Datepicker - Localization</title>
+    <title>jQuery UI Datepicker - Localize calendar</title>
    <link type="text/css" href="../../themes/base/ui.all.css"
rel="stylesheet" />
    <script type="text/javascript" src="../../jquery-1.3.js"></script>
    <script type="text/javascript" src="../../ui/ui.core.js"></script>
@@ -108,8 +108,7 @@
<div class="demo-description">
-

The datepicker may be localized for other languages and date
preferences.
-    There is built-in support for languages that read right-to-left, such as
Arabic and Hebrew.



+

Localize the datepicker calendar language and format (English / Western
formatting is the default). The datepicker includes built-in support for
languages that read right-to-left, such as Arabic and Hebrew.


</div><!-- End demo-description -->
Modified: trunk/demos/datepicker/min_max.html
==============================================================================
--- trunk/demos/datepicker/min_max.html    (original)
+++ trunk/demos/datepicker/min_max.html    Mon Jan 19 14:42:58 2009
@@ -1,7 +1,7 @@
<!doctype html>
<html lang="en">
<head>
-    <title>jQuery UI Datepicker - Minimum and Maximum</title>
+    <title>jQuery UI Datepicker - Restrict date range</title>
    <link type="text/css" href="../../themes/base/ui.all.css"
rel="stylesheet" />
    <script type="text/javascript" src="../../jquery-1.3.js"></script>
    <script type="text/javascript" src="../../ui/ui.core.js"></script>
@@ -23,10 +23,7 @@
<div class="demo-description">
-

The datepicker may have a minimum and/or maximum date set to restrict
the range of possible dates.
-    These dates may be set as actual dates (new Date(2009, 1 - 1, 26)), as a
numeric offset from
-    today (-20), or as a string of periods and units ('+1M +10D'). For the
last, use 'D' for days,
-    'W' for weeks, 'M' for months, or 'Y' for years.






+

Restrict the range of selectable dates with the
<strong>minDate</strong> and <strong>maxDate</strong> options. Set the
beginning and end dates as actual dates (new Date(2009, 1 - 1, 26)), as a
numeric offset from today (-20), or as a string of periods and units ('+1M
+10D'). For the last, use 'D' for days, 'W' for weeks, 'M' for months,
or 'Y' for years.





</div><!-- End demo-description -->
Modified: trunk/demos/datepicker/multiple_calendars.html
==============================================================================
--- trunk/demos/datepicker/multiple_calendars.html    (original)
+++ trunk/demos/datepicker/multiple_calendars.html    Mon Jan 19 14:42:58 2009
@@ -1,7 +1,7 @@
<!doctype html>
<html lang="en">
<head>
-    <title>jQuery UI Datepicker - Multiple Calendars Demo</title>
+    <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.js"></script>
    <script type="text/javascript" src="../../ui/ui.core.js"></script>
@@ -26,21 +26,7 @@
<div class="demo-description">
-


-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.
-






-
-<div style="padding: 0pt 0.7em; margin-top: 20px;"
class="ui-state-highlight ui-corner-all">
-


-<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).
-








-</div>
+

Set the <strong>numberOfMonths</strong> option to an integer of 2 or
more to show multiple months in a single datepicker.


</div><!-- End demo-description -->