I need to learn more about making two kinds of menus:
A. menus that have hierarchies of three or four levels
B. horizontal menus that have so many options that they are wider than the
available space
Can anyone direct me to articles, examples, or other resources illustrating
how to do this? I'd prefer to stay with CSS-only solutions but would
consider solutions that use Javascript if that is the only realistic way to
do what I want to do.
With respect to requirement A:
Occasionally, I have to present information that is fairly deeply nested
within a site. For example, on the site I'm currently developing, at the
highest level of the menu, I have an option entitled "Services". When the
user clicks on Services, they are supposed to get a menu, one of whose
options is "Newsletter s". When the user clicks on Newsletters, they should
get another menu that lists the years, e.g. 2007, 2008, 2009. When the user
clicks on the desired year, they should get a list of the issues of the
newsletter for that year; when they click on the desired issue, it gets
displayed for them. If the issue contains more than one page, they should be
able to use controls to get to "Next" and "Previous" pages.
With respect to requirement B:
Sometimes, there are a lot of options that logically belong on the same
horizontal menu and they simply don't fit on one line given the space
available. For example, given the twelve issues of a newsletter in the same
issue and even using a fairly small font for the tabs, the menu can be too
wide for the existing space. If the newsletter starts getting published more
frequently, there would be even more tabs. I assume that someone has figured
out how to make menus wrap nicely - like they do in My Computer/Properties
in Windows for example - in web pages.
--
Rhino
A. menus that have hierarchies of three or four levels
B. horizontal menus that have so many options that they are wider than the
available space
Can anyone direct me to articles, examples, or other resources illustrating
how to do this? I'd prefer to stay with CSS-only solutions but would
consider solutions that use Javascript if that is the only realistic way to
do what I want to do.
With respect to requirement A:
Occasionally, I have to present information that is fairly deeply nested
within a site. For example, on the site I'm currently developing, at the
highest level of the menu, I have an option entitled "Services". When the
user clicks on Services, they are supposed to get a menu, one of whose
options is "Newsletter s". When the user clicks on Newsletters, they should
get another menu that lists the years, e.g. 2007, 2008, 2009. When the user
clicks on the desired year, they should get a list of the issues of the
newsletter for that year; when they click on the desired issue, it gets
displayed for them. If the issue contains more than one page, they should be
able to use controls to get to "Next" and "Previous" pages.
With respect to requirement B:
Sometimes, there are a lot of options that logically belong on the same
horizontal menu and they simply don't fit on one line given the space
available. For example, given the twelve issues of a newsletter in the same
issue and even using a fairly small font for the tabs, the menu can be too
wide for the existing space. If the newsletter starts getting published more
frequently, there would be even more tabs. I assume that someone has figured
out how to make menus wrap nicely - like they do in My Computer/Properties
in Windows for example - in web pages.
--
Rhino
Comment