From: Scott González Date: Thu, 3 Feb 2011 19:14:13 +0000 (-0500) Subject: Accordion: Updated demos to use the new API. X-Git-Tag: 1.9m4~26 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ed4903370090c5e81a5be7a9e23f351fc1b062a6;p=jquery-ui.git Accordion: Updated demos to use the new API. --- diff --git a/demos/accordion/custom-icons.html b/demos/accordion/custom-icons.html index 7dff971f6..3ec244131 100644 --- a/demos/accordion/custom-icons.html +++ b/demos/accordion/custom-icons.html @@ -14,7 +14,7 @@ $(function() { var icons = { header: "ui-icon-circle-arrow-e", - headerSelected: "ui-icon-circle-arrow-s" + activeHeader: "ui-icon-circle-arrow-s" }; $( "#accordion" ).accordion({ icons: icons @@ -62,7 +62,7 @@
-

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.

+

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

diff --git a/demos/accordion/fillspace.html b/demos/accordion/fillspace.html index f874feb39..6cdd69181 100644 --- a/demos/accordion/fillspace.html +++ b/demos/accordion/fillspace.html @@ -14,14 +14,15 @@ @@ -52,8 +51,7 @@
-

Setting autoHeight: false allows to accordion panels to keep their native height.

-

In addition, the navigation option is enabled, opening the panel based on the current location, eg. no-auto-height.html#panel2 would open the second panel on page load. It also finds anchors within the content, so #othercontent will open the third section, as it contains a link with that href.

+

Setting heightStyle: "content" allows the accordion panels to keep their native height.