Here you go http://paste.pocoo.org/show/105888/
That's about twelve lines of js, where the documentation shows 6 (really just a starting point). Those extra 6 lines are what it takes for the styling, but still far fewer than ui.accordion.js's 478 lines. - Richard On Fri, Feb 27, 2009 at 3:08 PM, Soup <soupy_2...@hotmail.com> wrote: > > The accordion documentation page says the following: > > NOTE: If you want multiple sections open at once, don't use an > accordion > > An accordion doesn't allow more than one content panel to be open at > the same time, and it takes a lot of effort to do that. If you are > looking for a widget that allows more than one content panel to be > open, don't use this. Usually it can be written with a few lines of > jQuery instead, something like this: > > jQuery(document).ready(function(){ > $('.accordion .head').click(function() { > $(this).next().toggle(); > }).next().hide(); > }); > > I've tried to do this but cannot make it work. Can someone please show > me some simple html and the jquery that will allow the accordion to > open multiple sections at once? I'm particularly interested in > preserving the themes here. > > TIA > Soup > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to jquery-ui@googlegroups.com To unsubscribe from this group, send email to jquery-ui+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en -~----------~----~----~----~------~----~------~--~---