The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Change Active Link Color Reply To: Change Active Link Color


So, what you are essentially stating is to add styling to my style sheet already attached with the specific color then. That would work, but I still would like to know how to perform this JS.

W3 had created id’s to the H1, p, and, other tags, then used the code I showed to change the color.

I’m new to JS; the first time I used it was 4 years ago. I used Dreamweaver and we had to create 2 different colors in Photoshop to get the hover effects (which required about 40 lines of JavaScript to become effective).

What is the issue with assigning classes to colors? I had to do this to style my buttons. Many do not like it, but sometimes it is necessary, under the right circumstances, right?