Results 1 to 3 of 3
Oct 8, 2007, 04:31 #1
- Join Date
- Oct 2006
- 0 Post(s)
- 0 Thread(s)
css change color background after click
I have a sidebar with links. If one of the links is clicked and they stay in that section, then I want the background color to stay yellow. If they click on another link, then new link background becomes yellow, but old link goes back to colorless state.
Sidebar nav is different for each section in webapp. Links in the sidebar differs and links maybe created dynamically from different section of webapps?
Is this only possible if you know the links before hand, so you can define in id CSS ?
I need something like gmail, chat is highlighted with blue background:
Last edited by johnCash; Oct 8, 2007 at 04:38. Reason: Add gmail pic