Accordion - by Jorn Zaefferer
Hi,
I am a newbie to jQuery and really liking it but I have query with
regards to the Accordion plug-in by Jorn Zaefferer. All is working
fine but I need a means of implementing nested accordion menus within
parent accordion menus (so spanning within many parent menus and not
just within one) and not sure if this is possible - if so, not sure
how to do it?
Basically want to have an accordion menu that can look like this:
Menu1 (parent)
+-----Menu1a (element)
+-----Menu1b (element)
+-----Menu11 (sub-parent of Menu1 - another sub accordion)
+------------Menu11a (element)
+------------Menu11b (element)
Menu2 (parent)
+-----Menu2a (element)
+-----Menu2b (element)
Menu3 (parent)
+-----Menu3a (element)
+-----Menu3b (element)
+-----Menu31 (sub-parent of Menu1 - another sub accordion)
+------------Menu31a (element)
+------------Menu31b (element)
Further to the above, if I have clicked on Menu1 parent which then
opens up elements + nested accordion - if I then click on Menu11,
which then expands this accordion - is it possible to have the parent
also still expanded?
Hope the above makes sense and is possible using Jorn Zaefferer
accordion plug-in.
Would really appreciate the high-level code syntax.
Thanks.