20 Feb 2009 11:57 PM #1
Possible to setStyle for a:hover?
Easy question but Google and searching the forums has come up with nothing.
What is the easiest way to set a style for a link's :hover? Easiest to just set the hover via JS, or is there a way to use setStyle or applyStyles?
21 Feb 2009 4:48 AM #2
21 Feb 2009 2:57 PM #3
FYI, if anyone comes into this thinking the same way I did, what would be better than adding styles is to add/removeClass. That way, things like a:hover are preserved as part of the class you're setting.