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.
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.
the class nav-selected is applied to items in the autonav,
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.
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.
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
Thank you for your reply, I will try it.