From 986505846ed27d34962353a967d1689cbdda4969 Mon Sep 17 00:00:00 2001 From: Maggie Costello Wachs Date: Mon, 19 Jan 2009 21:02:36 +0000 Subject: [PATCH] updated the demo captions, and reordered the examples navigation --- demos/accordion/collapsible.html | 2 +- demos/accordion/custom_icons.html | 8 +------- demos/accordion/default.html | 3 ++- demos/accordion/fillspace.html | 4 +--- demos/accordion/index.html | 7 ++++--- demos/accordion/mouseover.html | 6 ++---- 6 files changed, 11 insertions(+), 19 deletions(-) diff --git a/demos/accordion/collapsible.html b/demos/accordion/collapsible.html index 8c98c6cc0..4e1595e99 100644 --- a/demos/accordion/collapsible.html +++ b/demos/accordion/collapsible.html @@ -58,7 +58,7 @@
-

By default, accordions always keep one section open. To allow for all sections to be be collapsible, set the alwaysOpen option to false. Click on the currently open section to collapse the section in the example above.

+

By default, accordions always keep one section open. To allow for all sections to be be collapsible, set the alwaysOpen option to false. Click on the currently open section to collapse its content pane.

diff --git a/demos/accordion/custom_icons.html b/demos/accordion/custom_icons.html index 617ec4758..5d99de040 100644 --- a/demos/accordion/custom_icons.html +++ b/demos/accordion/custom_icons.html @@ -61,13 +61,7 @@
-

The icons used for the open and closed accordions can be any of the standard icons in the css framework or even a custom css class you create with an icon background image. For this example, we're using the arrow in a circle icons: - -

icons: {
-    header: "ui-icon-circle-arrow-e",
-    headerSelected: "ui-icon-circle-arrow-s"
-}
-
+

Customize the header icons with the icons option, which accepts classes for the header's default and selected (open) state. Use any class from the UI CSS framework, or create custom classes with background images.

diff --git a/demos/accordion/default.html b/demos/accordion/default.html index b9d74c6c6..c85605aec 100644 --- a/demos/accordion/default.html +++ b/demos/accordion/default.html @@ -57,7 +57,8 @@
-

This is a default accordion which is an expandable/collapsible content pane that is useful for situations when content must be displayed within limited space and can be broken into logical sections, much like tabs. Sections open when clicked by default. The HTML code is a series of headers (H3) and content divs so the content is still usable without Javascript.

+

Click headers to expand/collapse content broken into logical sections, much like tabs. Optionally, toggle sections open/closed on mouseover.

+

The underlying HTML markup is a series of headers (H3 tags) and content divs so the content is usable without JavaScript.

diff --git a/demos/accordion/fillspace.html b/demos/accordion/fillspace.html index 950287cbe..6950e818c 100644 --- a/demos/accordion/fillspace.html +++ b/demos/accordion/fillspace.html @@ -75,9 +75,7 @@ Resize the outer container:
-

In this example, the fillSpace option is used to make the accordion fit within a specific height and/or width. The script will automatically set the dimensions of the accordion to the height of the parent container. Try re-sizing the outer box to see the accordion fill the height of the box.

-
fillSpace: true
-
+

Because the accordion is comprised of block-level elements, by default its width fills the available horizontal space. To fill the vertical space allocated by its container, set the boolean fillSpace option to true, and the script will automatically set the dimensions of the accordion to the height of its parent container. The accordion will also resize with its container if the container is resizable.

diff --git a/demos/accordion/index.html b/demos/accordion/index.html index f8de0d533..9d908dfb4 100644 --- a/demos/accordion/index.html +++ b/demos/accordion/index.html @@ -8,11 +8,12 @@

Examples

diff --git a/demos/accordion/mouseover.html b/demos/accordion/mouseover.html index 25f0b2799..4be3c2c43 100644 --- a/demos/accordion/mouseover.html +++ b/demos/accordion/mouseover.html @@ -1,7 +1,7 @@ - jQuery UI Accordion - Mouseover Demo + jQuery UI Accordion - Open on mouseover @@ -58,9 +58,7 @@
-

In this example, we've customized the event to have sections open on mouseover instead of on click. This is done by simply adding this option event: "mouseover" to the accordion:

-
event: "mouseover"
-
+

Toggle sections open/closed on mouseover with the event option. The default value for event is "click."