]> 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 21:02:36 +0000 (21:02 +0000)
committerMaggie Costello Wachs <fg.maggie@gmail.com>
Mon, 19 Jan 2009 21:02:36 +0000 (21:02 +0000)
demos/accordion/collapsible.html
demos/accordion/custom_icons.html
demos/accordion/default.html
demos/accordion/fillspace.html
demos/accordion/index.html
demos/accordion/mouseover.html

index 8c98c6cc02081473298185dae7e409797deaa1b4..4e1595e99fa6f5840666ea0055752c708ed4cb1e 100644 (file)
@@ -58,7 +58,7 @@
 
 <div class="demo-description">
 
-<p>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.</p>
+<p>By default, accordions always keep one section open. To allow for all sections to be be collapsible, set the <strong>alwaysOpen</strong> option to false. Click on the currently open section to collapse its content pane.</p>
 
 
 </div><!-- End demo-description -->
index 617ec4758735af1f4101fb65949290b87aa9d092..5d99de0409ab30480e40c0c4200135276071d3b7 100644 (file)
 
 <div class="demo-description">
 
-<p>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:
-
-<pre><code>icons: {
-    header: "ui-icon-circle-arrow-e",
-    headerSelected: "ui-icon-circle-arrow-s"
-}
-</code></pre>
+<p>Customize the header icons with the <strong>icons</strong> 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.</p>
 
 </div><!-- End demo-description -->
 
index b9d74c6c6c2802a7da44e07dd3ac3a85891f31ec..c85605aec224193230394ecc72aa0cf167fbd5a3 100644 (file)
@@ -57,7 +57,8 @@
 
 <div class="demo-description">
 
-<p>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.</p>
+<p>Click headers to expand/collapse content broken into logical sections, much like tabs.  Optionally, toggle sections open/closed on mouseover.</p>
+<p>The underlying HTML markup is a series of headers (H3 tags) and content divs so the content is usable without JavaScript.</p>
 
 </div>
 
index 950287cbe6ad4608a41075809513effd4269ed2d..6950e818cfc2329a0cf1f6d193291713a0a38584 100644 (file)
@@ -75,9 +75,7 @@ Resize the outer container:
 
 <div class="demo-description">
 
-<p>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.</p>
-<pre><code>fillSpace: true
-</code></pre>
+<p>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 <strong>fillSpace</strong> 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 <strong>resizable</strong>.</p>
 
 </div><!-- End demo-description -->
 
index f8de0d53309d64444e05755aba312ed01ed981ca..9d908dfb409d4c72f36f2aa2de880c2d3e77cb6e 100644 (file)
@@ -8,11 +8,12 @@
        <div class="demos-nav">
                <h4>Examples</h4>
                <ul>
-                       <li class="demo-config-on"><a href="default.html">Default Accordion</a></li>
-                       <li><a href="mouseover.html">Mouseover event</a></li>
+                       <li class="demo-config-on"><a href="default.html">Default functionality</a></li>
                        <li><a href="fillspace.html">Fill space</a></li>
+                       <li><a href="collapsible.html">Collapse content</a></li>
+                       <li><a href="mouseover.html">Open on mouseover</a></li>
                        <li><a href="custom_icons.html">Custom icons</a></li>
-                       <li><a href="collapsible.html">Collapsible</a></li>
+                       
                </ul>
        </div>
 </body>
index 25f0b279965d2becbbd672a85d33ec62710674cc..4be3c2c431b6c8b41cae9797450860f36e46f398 100644 (file)
@@ -1,7 +1,7 @@
 <!doctype html>
 <html lang="en">
 <head>
-       <title>jQuery UI Accordion - Mouseover Demo</title>
+       <title>jQuery UI Accordion - Open on mouseover</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>
@@ -58,9 +58,7 @@
 
 <div class="demo-description">
 
-<p>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:</p>
-<pre><code>event: "mouseover"
-</code></pre>
+<p>Toggle sections open/closed on mouseover with the <strong>event</strong> option. The default value for event is "click."</p>
 
 </div><!-- End demo-description -->