Topic: menu (Page 1 of 1) |
|
---|---|
Nervous Wreck (II) Inmate From: Cincinnati, OH |
posted 03-12-2003 19:22
I want to have a menu where I can make a change and it changes on all pages, so I don't have to make the change on each page manually. I also want to remove the link for whatever page I'm on and just have it text. (Like if I'm on the home page, the home link on the menu is just text and not a link.) |
Paranoid (IV) Inmate From: Milwaukee |
posted 03-12-2003 19:50
If you have access to PHP, you'll have an easy time. Just put your menu in a different page ("menu.php," for instance) and then refer to it on every other page with include("menu.php");. Your "menu.php" will be included on every page, and if you make a change to it, the change will be reflected everywhere. code: while (list($key, $value) = each($menu_array))
|
Maniac (V) Inmate From: under the bed |
posted 03-12-2003 20:50
You have a variety of options for your first issue. The GN has some great resources on them - |
Nervous Wreck (II) Inmate From: Cincinnati, OH |
posted 03-12-2003 22:13
Thanks for the replies. I'll check into that stuff. |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 03-13-2003 02:01
TheDude: We use something like that at the GN - there are 3 states to the main navigation graphics on, off and home. You can process the URL to find out if you are in say: |
Nervous Wreck (II) Inmate From: Cincinnati, OH |
posted 03-14-2003 06:55
Pardon my ignorance, but does php affect spidering? |
Paranoid (IV) Inmate From: Sthlm, Sweden |
posted 03-14-2003 10:27
Well yes, it might. |