2009/4/5 Wayne Wickson <[email protected]>

> ...
> Lets assume I am designing a web site of one hundred pages.  I design a
> horizontal dropdown menu which links to each of the *one hundred pages*.
>  So
> each page is available from each of the other pages.  I need to add a new
> page or several pages.  Is there a way, using only CSS, to easily change
> the
> menu on each of the one hundred pages on the site without actually using an
> editor and modifying the one hundred lists one list at a time?  Thanks for
> any help I receive.


Hi Wayne,

If you don't want to get crazy, first of all you need to use instruments
that let you design your structure (XHTML, XML or what else) "in one hit".
That means to use editors that let you define snippet of code to be re-used
as template (let's say Dreamweaver, for example) expecially if your site is
in pure XHTML; or you must use some programming language (PHP, ASP,...) to
define dynamically the structure of your pages, in this case of the menu.

Suppose to use PHP. You can define functions to create the XHTML of the menu
using instructions to make the menu behave in certain ways on second the
page of the site the user is visiting. For example, you can change the link
in the menu list into a simple item list in bold and without a link when the
user is on the page pointed by that link.

The CSS implementation is the last of your problems. If you plan your menu
functions well, the XHTML created will be filled with the necessary classes
and ids to use to make the presentation of the menu like you want to.
Anyway, even if it is not the subject of this discussion, in my opinion you
should avoid to create dropdown menus with one hundred of pages. If you
really need to have such a number of links and you can't split them into
smaller lists, then I think a menu list in a column is better.

This is just my opinion... but let you think to be the user of your web
site...

Bye.

-- 
~ Cristian Palmas ~
http://www.cristianpalmas.it
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to