Are style sheets out of question..? I believe it would be pretty much straightforward to do with "pseudo states".