From 6df7729714075c1b26566eca6fa9b8a4ff3d3c63 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Fri, 10 Sep 2010 08:50:53 -0400 Subject: [PATCH] Datepicker demos: Coding standards. --- demos/datepicker/alt-field.html | 25 ++-- demos/datepicker/animation.html | 44 +++---- demos/datepicker/buttonbar.html | 22 ++-- demos/datepicker/date-formats.html | 26 +++-- demos/datepicker/default.html | 22 ++-- demos/datepicker/dropdown-month-year.html | 22 ++-- demos/datepicker/event-search.html | 35 +++--- demos/datepicker/icon-trigger.html | 26 ++--- demos/datepicker/index.html | 4 +- demos/datepicker/inline.html | 22 ++-- demos/datepicker/localization.html | 135 +++++++++++----------- demos/datepicker/min-max.html | 22 ++-- demos/datepicker/multiple-calendars.html | 22 ++-- demos/datepicker/other-months.html | 25 ++-- demos/datepicker/show-week.html | 25 ++-- 15 files changed, 247 insertions(+), 230 deletions(-) diff --git a/demos/datepicker/alt-field.html b/demos/datepicker/alt-field.html index d51bf0634..f45921d07 100644 --- a/demos/datepicker/alt-field.html +++ b/demos/datepicker/alt-field.html @@ -1,17 +1,20 @@ - + jQuery UI Datepicker - Populate alternate field - - - - - - - + + + + + @@ -23,10 +26,10 @@ -
-

Populate an alternate field with its own date format whenever a date is selected using the altField and altFormat 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.

+
+

Populate an alternate field with its own date format whenever a date is selected using the altField and altFormat 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.

diff --git a/demos/datepicker/animation.html b/demos/datepicker/animation.html index 27f20ffb8..8bc4dbaa8 100644 --- a/demos/datepicker/animation.html +++ b/demos/datepicker/animation.html @@ -1,25 +1,27 @@ - + jQuery UI Datepicker - Animations - - - - - - - - - - - - - - + + + + + + + + + + + + @@ -34,22 +36,22 @@ - +

-
-

Use different animations when opening or closing the datepicker. Choose an animation from the dropdown, then click on the input to see its effect. You can use one of the three standard animations or any of the UI Effects.

+
+

Use different animations when opening or closing the datepicker. Choose an animation from the dropdown, then click on the input to see its effect. You can use one of the three standard animations or any of the UI Effects.

diff --git a/demos/datepicker/buttonbar.html b/demos/datepicker/buttonbar.html index 6cd4dbedc..df0cc73b0 100644 --- a/demos/datepicker/buttonbar.html +++ b/demos/datepicker/buttonbar.html @@ -1,17 +1,17 @@ - + jQuery UI Datepicker - Display button bar - - - - - - - + + + + + - - - - - + + + + + @@ -35,10 +37,10 @@
-
-

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.

+
+

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.

diff --git a/demos/datepicker/default.html b/demos/datepicker/default.html index 4ab50e174..32ce21208 100644 --- a/demos/datepicker/default.html +++ b/demos/datepicker/default.html @@ -1,17 +1,17 @@ - + jQuery UI Datepicker - Default functionality - - - - - - - + + + + + @@ -23,10 +23,10 @@
-
-

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.

+
+

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.

diff --git a/demos/datepicker/dropdown-month-year.html b/demos/datepicker/dropdown-month-year.html index c31d8ba85..12877ab7a 100644 --- a/demos/datepicker/dropdown-month-year.html +++ b/demos/datepicker/dropdown-month-year.html @@ -1,17 +1,17 @@ - + jQuery UI Datepicker - Display month & year menus - - - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + @@ -23,10 +23,10 @@ Date:
-
-

Display the datepicker embedded in the page instead of in an overlay. Simply call .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.

diff --git a/demos/datepicker/localization.html b/demos/datepicker/localization.html index 022bd0add..c2393fdea 100644 --- a/demos/datepicker/localization.html +++ b/demos/datepicker/localization.html @@ -1,73 +1,74 @@ - + jQuery UI Datepicker - Localize calendar - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -135,10 +136,10 @@
-
-

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.

+
+

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.

diff --git a/demos/datepicker/min-max.html b/demos/datepicker/min-max.html index 7573e6926..8d9106d9b 100644 --- a/demos/datepicker/min-max.html +++ b/demos/datepicker/min-max.html @@ -1,17 +1,17 @@ - + jQuery UI Datepicker - Restrict date range - - - - - - - + + + + + @@ -23,10 +23,10 @@
-
-

Restrict the range of selectable dates with the minDate and maxDate 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.

+
+

Restrict the range of selectable dates with the minDate and maxDate 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.

diff --git a/demos/datepicker/multiple-calendars.html b/demos/datepicker/multiple-calendars.html index 8051ca524..117b2ca14 100644 --- a/demos/datepicker/multiple-calendars.html +++ b/demos/datepicker/multiple-calendars.html @@ -1,17 +1,17 @@ - + jQuery UI Datepicker - Display multiple months - - - - - - - + + + + + - - - - - + + + + + @@ -23,11 +26,11 @@
-
+ +

The datepicker can show dates that come from other than the main month being displayed. These other dates can also be made selectable.

-
diff --git a/demos/datepicker/show-week.html b/demos/datepicker/show-week.html index f6015a2af..83e2349b6 100644 --- a/demos/datepicker/show-week.html +++ b/demos/datepicker/show-week.html @@ -1,17 +1,20 @@ - + jQuery UI Datepicker - Show week of the year - - - - - - - + + + + + @@ -23,13 +26,13 @@
-
+ +

The datepicker can show the week of the year. The default calculation follows the ISO 8601 definition: the week starts on Monday, the first week of the year contains the first Thursday of the year. This means that some days from one year may be placed into weeks 'belonging' to another year.

-
-- 2.39.5