Got it!!!!!

Turns out unaccordion() is your friend when finished with an accordion
group.  Most pages won't need this because a reload of the page fixes
things.

Dynamic loading of accordion blocks does need to unaccordion() when
finished with the accordioned data.

If you don't call unaccordion() before recalling accordion(), you will
have the old clickhandler still in place and two clicks come in, which
confuses accordion and things go bad fast.

Here is my working method:
Load dynamic <li> groups
accordion();
Do stuff with the accordioned data
unaccordion();
unload dynamic <li> groups

Cheers,
ml

Reply via email to