From ed4903370090c5e81a5be7a9e23f351fc1b062a6 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Scott=20Gonz=C3=A1lez?= Date: Thu, 3 Feb 2011 14:14:13 -0500 Subject: [PATCH] Accordion: Updated demos to use the new API. --- demos/accordion/custom-icons.html | 4 ++-- demos/accordion/fillspace.html | 7 ++++--- demos/accordion/no-auto-height.html | 6 ++---- 3 files changed, 8 insertions(+), 9 deletions(-) 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.

-- 2.39.5