View Full Version : multiple levels for switch content script

05-30-2006, 04:33 PM

I have used the switch content script and it works wonderfully. I have modified the script slightly so that it does a couple of things that I wanted to do because i'm using it with dynamically generated content.

My question is how can I use this for multiple levels. I have a section level which I have the script working on, but I want to also have it on a category level underneath each of my sections.

When the section is expanded, the categories should all be collapsed. When one of the categorie is clicked, then it should open up the records for that category (all this is pulled from a database query on an ASP page for an intranet).

can this be stacked? is there a script that will do two or more levels of collapsing and expanding?