Jump to content

[SOLVED] active / selected links


cocothecat
 Share

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 :

Home
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?

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More