(accordion) - trouble toggling between different groups of accordion panes
Hi-
I'm trying to create an accordion in which I can control which panes
are available at different times. A simple example would be to
sometimes have only the odd numbered panes available for certain tasks
and other times only the even panels. I am having trouble getting
this to work properly and I think I am likely not using the correct
method for hiding and showing the panels. I've tried a bunch of
options with fadeIn/fadeOut, show/hide (with both the headers and the
panes) as well as changing the height of the panes via css(), but it
always get screwy one way or another.
Here's a demo page:
http://halseyburgund.com/oceanvoices/acc_test.html
Is there a proper way to accomplish this? Or am I trying to do
something that shouldn't be attempted with an accordion?
Thanks a lot.
-Halsey