hi friends.. i wan to change the color when i clicked on the particular link in asp.net. if i click on another link means previous link should return to unvisited color..
please help me..
vidya t 0 Newbie Poster
Recommended Answers
Jump to PostIn css, set styles for:
a:link {color:xx;} a:visited {color:xx;} a:hover {color:xx;} a:active {color:xx;}
Jump to PostOh, I think I know what you're trying to do.
Usually it's done with a class that highlights the lates link (often a background color, border, etc.).
Then in javascript onclick you loop through all the links and remove that class, then add the class to the link …
All 7 Replies
teedoff 3 Posting Pro
Brillig 0 Light Poster
vidya t 0 Newbie Poster
Brillig 0 Light Poster
vidya t 0 Newbie Poster
vidya t 0 Newbie Poster
vidya t 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.