Forum Moderators: not2easy
However, I'm not finding a way to specify a color for a hover, visited or hover background color using js and css.
For changing the link color, I can just use document.getElementById('some_link_id').style.color='#ffffff';
How do I enable a change in a psuedo class' color in the same way?
I'm not even sure you can differentiate between visited and unvisited links in JavaScript?
To set the background-color (CSS) in JavaScript you need to set the property .backgroundColor
IMHO it would be better/simpler to allow your users to generate a custom stylesheet (under program control) and not use JavaScript at all.