The expand/contract behavior of the categories sidebox would be useful for other sideboxes with nested information as well. But this code is based on the hierarchical nature of cPath variables (1, 1_5, 1_5_12, etc.) so I don't think it can be reused. I'm considering other approaches like jQuery accordion. Any recommendations or things to watch out for?
Bookmarks