]> source.dussan.org Git - jquery-ui.git/commitdiff
updated the demo captions, and reordered the examples navigation
authorMaggie Costello Wachs <fg.maggie@gmail.com>
Mon, 19 Jan 2009 22:42:58 +0000 (22:42 +0000)
committerMaggie Costello Wachs <fg.maggie@gmail.com>
Mon, 19 Jan 2009 22:42:58 +0000 (22:42 +0000)
demos/datepicker/alt_field.html
demos/datepicker/buttonbar.html
demos/datepicker/date_formats.html
demos/datepicker/default.html
demos/datepicker/dropdown_month_year.html
demos/datepicker/icon_trigger.html
demos/datepicker/index.html
demos/datepicker/inline.html
demos/datepicker/localization.html
demos/datepicker/min_max.html
demos/datepicker/multiple_calendars.html

index fba6a3273356d23f91a84577e31e9b616f13c306..fb543b3f6f0e4e2ac506536022472dcbeb9768f5 100644 (file)
@@ -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">
 
-<p>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.</p>
+<p>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.</p>
 
 </div><!-- End demo-description -->
 
index c36ca835faa6aaca1d00f7916047aa995014e0dc..5d914e943d94c228bcaf228d6011ab130c7d0f15 100644 (file)
@@ -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">
 
-<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>
+<p>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.</p>
 
 </div><!-- End demo-description -->
 
index 6027c5ffba545d18d2bffd6ccdc8eed93670bdb2..b1a7384d00bc908172d00cb9dd6d5d17d52983f9 100644 (file)
@@ -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">
 
-<p>The datepicker may present the selected date in a variety of formats.</p>
+<p>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.</p>
 
 </div><!-- End demo-description -->
 
index a9d915d4b3ab5a38cb3aac607f6dc0641a458d7f..8872c7eb8ba55a2fca6fb5ee7468b6f91c2631c4 100644 (file)
@@ -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">
 
-<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>
+<p>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.</p>
 
 </div><!-- End demo-description -->
 
index fe685f620c7a70cde26404d19da3cf601fe6fe0b..9ccd42e2b556fefafb909e3dc7ba389d629aec06 100644 (file)
@@ -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">
 
-<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>
+<p>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.</p>
 
 </div><!-- End demo-description -->
 
index b421a54d5689a08e0331bc7f507e3201f3c8d4c5..4aa7a57b2995b27a54c10a1e67db4d8f056f079b 100644 (file)
@@ -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">
 
-<p>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.</p>
+<p>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.</p>
 
 </div><!-- End demo-description -->
 
index cdb8d467eff0494e894581dc49ad593a4fd555ba..a1738de2edd84f6728c6e32d5c78fd8a51454929 100644 (file)
@@ -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>
 
index d5170916e0f0ef4478609d4aad090b1b9a6c89e2..f7152512488638cd49b561acb56c4fd6a364b565 100644 (file)
@@ -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 @@ Date: <div id="datepicker" /></div>
 
 <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() on a div instead of an input.
-</p>
+<p>Display the datepicker embedded in the page instead of in an overlay.  Simply call .datepicker() on a div instead of an input.</p>
 
 </div><!-- End demo-description -->
 
index de7f82b1962e67bcb407f0c5099d0bfcf69a64a9..285b7ee7fb2db11a88cb7dc78a77a763b1e77f26 100644 (file)
@@ -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>
 
 <div class="demo-description">
 
-<p>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.</p>
+<p>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.</p>
 
 </div><!-- End demo-description -->
 
index c8c5989949d35a2c9282a408d16eb106253440dc..26673aae53b6192d75b0dfea8c9ec0393b33f1a4 100644 (file)
@@ -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>
 
 <div class="demo-description">
 
-<p>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.</p>
+<p>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.</p>
 
 </div><!-- End demo-description -->
 
index 1e21c5192b0bae428c325d60dd0388199b33af60..9ce129161349cd6f817005ce6d88aed504e62478 100644 (file)
@@ -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>
 
 <div class="demo-description">
 
-<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>
+<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 -->