active option remains highlighted

active option remains highlighted

Hi,

I am new to jquery and would like some help regarding my problem.  I created an accordian menu which includes categories, sub categories and sub sub categories.  Once you hover(css) on one of the menu options there is a hovering effect.  What i would like to achieve now is that once a menu option is chosen that option remains highlighted (:active) until another menu option is chosen.  How can i do this please?  If anyone can help would be great.

Thanks in advance!