Hello Richard, Are you looking for an accordion style menu? like this: http://jqueryui.com/demos/accordion/
Matt On Jul 6, 2011, at 9:52 AM, RichardOnRails wrote: > Hi, > > I posted a question on this topic yesterday, but it seems to have > gone down a rabbit-hole (like events in Lewis Carroll's "Alice in > Wonderland.") Here's a second attempt at getting some ideas: > > I posted code I found on the web at http://www.pastie.org/2170350. I > lists a menu of three items. Clicking any one of them causes the > items subordinate contents immediately beneath the item and indented. > That's great. > > Clicking a second item among the original three does the same thing. > However, the first-clicked item remains expanded. I'd like the > example to be modified so that whenever an item is expanded, it first > collapses any currently expanded menu. > > Is there any pure CSS way in coding that behavior, with some > JavaScript if necessary? > > Thanks in Advance, > Richard > > -- > -- > You received this because you are subscribed to the "Design the Web with CSS" > at Google groups. > To post: [email protected] > To unsubscribe: [email protected] -- -- You received this because you are subscribed to the "Design the Web with CSS" at Google groups. To post: [email protected] To unsubscribe: [email protected]
