Your code works fine for me... I tested in FF, IE6, and Chrome. Maybe clearing your cache?
I'd probably change the class though, I think defining colors in js would be complicated when switching themes etc.
You can just add to the "a:hover" to look something like "a:hover, a.hover" and add the class "hover" and then remove it etc.
|