Active state on a CSS navigation menu

Permalink
Hello,

I was wondering, is it possible to add active states to CSS navigation menu links for each page on a website? Is there some sort of an id or class that gets added to each created page that I can use to set the active states of links?

The menu is a simple unordered list and each link has a sprite that has (is going to have) three states - default, hover and active.

I hope my question was clear enough,
thanks in advance.

Fulbright
 
Mnkras replied on at Permalink Reply
Mnkras
the class nav-selected is applied to items in the autonav,
Fulbright replied on at Permalink Reply
Fulbright
Thanks for the reply, but maybe I was not clear, the navigation menu is not created via the auto-nav block. It is a part of the template.

Should I use the auto-nav block? Can I use background images instead of plain text with it or is it complicated to make it do that?

Perhaps I misunderstood your reply.
12345j replied on at Permalink Best Answer Reply
12345j
I would use the default autonav, be hard to do otherwise. seehttp://www.codeblog.ch/2009/12/image-navigation-items/... to use images with the autonav
Fulbright replied on at Permalink Reply
Fulbright
Thank you for your reply, I will try it.

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.