As Dan mentioned, this isn't tough to accomplish. I wrote a tutorial
a while back that shows how to implement something like this at a
basic level:
http://www.learningjquery.com/2007/02/more-showing-more-hiding
--Karl
_________________
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Aug 6, 2007, at 10:54 AM, Dan G. Switzer, II wrote:
Stephan,
All these posts about various Accordion plugins has gotten me looking
at several, and after trying them out i've got a generic question:
Is there any Accordion(like) plugin out there which does not force
all
elements except the selected one to be closed? What if i want to open
multiple panels at one time, and close them individually?
i guess my real question is, "would this feature be feasible within
the framework of the existing code bases, without major changes to
the
public API". e.g., adding it as an option to the plugin:
{allowMultipleOpen:true}.
Traditionally, the Accordion view is a single panel view. I guess I
think of
having multiple views open at once, just a standard Tree view.
The issue I'm sure most of the Accordion plug-ins face is they are
written
to specifically close the previously open panel and show the one
you just
clicked in.
To open/close multiple panels, would probably be a shift in
philosophy for
these plug-ins, as you know are just toggling the status of the
current
item's visibility.
While this is not difficult (as a matter of fact you could probably
write a
plug-in to do this in just a few lines of code,) it's just a different
problem than what most people are looking for in an "Accordion"
plug-in.
-Dan