Un-highlighting nav-selected
Permalink
Background:
I have a typical navigation setup where nav-selected has a different color so the user knows what page they're on. I also have each nav item set to change color on hover.
Problem:
I would like both the nav-selected and hover to be the same color, but not display simultaneously.
eg. When you hover over the a nav item, any styles applied to nav-selected would cease. When you pull your cursor off of the nav, the styles would return to nav-selected.
It seems like such a simple function, but I haven't found any discussions about it. Any help/direction would be much appreciated.
Mark
I have a typical navigation setup where nav-selected has a different color so the user knows what page they're on. I also have each nav item set to change color on hover.
Problem:
I would like both the nav-selected and hover to be the same color, but not display simultaneously.
eg. When you hover over the a nav item, any styles applied to nav-selected would cease. When you pull your cursor off of the nav, the styles would return to nav-selected.
It seems like such a simple function, but I haven't found any discussions about it. Any help/direction would be much appreciated.
Mark