I am beginning to configure my drupal site, and am wondering if there is any way to "tweek" the expand/collapse menu in the ADC theme? Basically what I would like to do is have one box that says "Articles". Within this box you can select different categories - ie. "Sleep & Colic", "Discipline", "Health Information", etc... Then when you click on one of the categories (Sleep & Colic, for example) I would like different article titles to appear.

EXAMPLE:
Articles
Sleep & Colic
>Lambskins & SIDS
Discipline
Health Information

The guest can then select from a list of articles under a specific category. Additionally, if the guest selects a different category (say, goes from "Sleep & Colic" to "Discipline"), I would like the first category (Sleep & Colic) to COLLAPSE, so they don't have a long list along the side of their screen with the articles showing for each category. This would be essential for me, as I will have 20+ articles in each category.

The way it shows up right now is close to how I need it, except that the subcategories (ie. "Lambskins & SIDS" under Sleep & Colic) do not expand/collapse when you click on a different category - they are static.

If anyone can point this newbie in the right direction, I'd greatly appreciate it! ~Paige

Comments

Richard Archer’s picture

The menu system should do this automatically. No need to set the expanded option.

paige’s picture

The menu itself does expand/collapse automatically, which is great, but the categories within the menu do not which is what I'm looking to do.

The way the admin menu works in the ADC theme is exactly how I would like the menu that I've created to work. In the admin menu when you click from "create content" to "administer", the sub-links ("page", "story") collapse and the sub-links under "administer" expand.

How can I copy the expand/collapse style of the admin menu to my new menus? Any help/points in the right direction would be appreciated! ~Paige

walterbyrd’s picture

I went into admin > menus; and set the sub-link-menu to expand; but not the main-link-menu. So when I click on the main-link-menu, the sub-link-menu will expand automatically.

Also, have you looked at the jsdomenus module?