Jeepers34683
09-24-2002, 03:25 PM
I AM AN EXTREMELY NEW NEWBIE who has searched for the answer to this question. So if it's obvious please forgive me!
Here's the deal. Let's say you have links:
Home
Fred
Betty
Barney
And "Home" is highlighted when you are on the home page. Then you click on "Fred." It highlights, takes you to the Fred page, and remains highlighted. Meanwhile Home is unhighlighted on that page. Basic stuff.
This is easy in regular HTML. But if I want to have a separate file for navigation in PHP, I don't know how to make the menu switch with each page without making a separate PHP nav file for every page - kinda defeating the purpose.
Directions...tutorial...anything that will specifically answer this question in newbie-like, easy terms would be very much appreciated.
Thanks!!! :o
Here's the deal. Let's say you have links:
Home
Fred
Betty
Barney
And "Home" is highlighted when you are on the home page. Then you click on "Fred." It highlights, takes you to the Fred page, and remains highlighted. Meanwhile Home is unhighlighted on that page. Basic stuff.
This is easy in regular HTML. But if I want to have a separate file for navigation in PHP, I don't know how to make the menu switch with each page without making a separate PHP nav file for every page - kinda defeating the purpose.
Directions...tutorial...anything that will specifically answer this question in newbie-like, easy terms would be very much appreciated.
Thanks!!! :o