Jump to content

[SOLVED] active / selected links


Recommended Posts

How can I tell a link to be highlighted or in my case the "current" or "selected" link based on the page I'm viewing, normally I would tell it to check it based on the <body id="home"> or as I have done here :

Boxing Gloves
MMA Gloves
Fight Shorts
    Thai Shorts
Rash Guards
T-Shirts & Hoodies
Training Equipment

Id like to move the class="current" depending on what page I'm on. Any suggestions please?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...