You're replying to a comment left by Lauren that was posted on August 25, 2010…
This is great…but I want to take it one step further and apply the “active” nav item to multiple pages…I tried using the || which works for one set of pages, but then it won’t shut off when you navigate to another set of pages that should have a different nav item highlighted. I’ve tried some ‘else if’ statements to no avail. Any suggestions?
You're replying to a comment left by Jack that was posted on September 07, 2010…
I have this tutorial for the same topic…
http://3w1h.com/how-to-highlight-active-link-in-active-page-in-navigation-using-php/
-you don’t need to edit many pages..
-you need to edit only the ie navigation.php file
-no extra ” in the code when the link is not active
-you can copy paste the code
You're replying to a comment left by Damien that was posted on January 06, 2011…
Great! I was looking for this and you solved my problem
thank you!
You're replying to a comment left by Liviu Anghelina that was posted on January 18, 2011…
Awesome, I’m a newbie into php and I got the menu working using your code!! Thanks a lot!
You're replying to a comment left by Rich that was posted on May 03, 2011…
So simple, thanks a million, wish I’d found this solution months ago!!
You're replying to a comment left by Darren that was posted on May 19, 2011…
What a great tutorial! Simple, succinct and exactly what I needed.
Thank you
![]()
You're replying to a comment left by Black Hair Extensions that was posted on July 01, 2011…
PHP is a good use in navigating sites.
You're replying to a comment left by john sheahan that was posted on April 13, 2010…