Vote count:
-1
I have all my navigation stored in an include file. But an issue I've run into is how to set the navigation links to 'active' from the include file?
So that when I'm on the home page, the Home link will be activated. And when on the about page, the About link will be activated, etc., etc. so on for the other pages.
What would be the best way to find out what page is active, and set the link in the include file to reflect what page is active?
Hopefully that makes sense...
asked 40 secs ago
How to find out what page is active?
Aucun commentaire:
Enregistrer un commentaire