On Tue, 18 Jan 2005 09:45:29 -0500, Chris McCuller
> First off, the menu system I'm referring to is http://fedora.redhat.com
> I really like how the subitems show only when you are in that section
> After studying the HTML/CSS, it seems as if each section is done statically on
> each page, which really seems like a pain.
It may or may not be done statically, it is, however, almost certainly
done programatically. This might be a process that runs once and
generates static pages, or it might be a process that runs everytime a
page is requested.
You could do this client side, using ids / classes / descendent
selectors to decide which bit of the menu is displayed - but that
would involve sending all menu options with every page - and
displaying them in user agents which ignore your CSS (Googlebot for
This type of thing is pretty trivial to implement in most content
management systems, so you should probably look at getting something
to generate your pages for you. I've had good success with Perl,
Template::Toolkit and MySQL.
David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk>
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/