diff --git a/demos/accordion/default.html b/demos/accordion/default.html index 478a25844..dc1a7f2f7 100644 --- a/demos/accordion/default.html +++ b/demos/accordion/default.html @@ -59,13 +59,17 @@
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.
-If you are looking for a widget that allows more than one content panel to be open, don't use this plugin. You can achieve this effect with a few lines of jQuery instead, like this:
- -jQuery(document).ready(function(){ - $(".accordion .head").click(function() { - $(this).next().toggle(); - }).next().hide(); ++diff --git a/demos/index.html b/demos/index.html index ced365db9..4d13e0ce5 100644 --- a/demos/index.html +++ b/demos/index.html @@ -3,6 +3,7 @@+ +Note: If you are looking for a widget that allows more than one content panel to be open, don't use this plugin. You can achieve this effect with a few lines of jQuery instead, like this: +
jQuery(document).ready(function(){ + $(".accordion .head").click(function() { + $(this).next().toggle(); + }).next().hide(); });+ +jQuery UI Demos +