Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript How to change my hover effect with OnClick event Reply To: How to change my hover effect with OnClick event

#157361
Paulie_D
Member

The easiest thing to do would be to swap put the hover states for a class and the use jQuery’s addClass/removeClass functions to apply/remove it on a click.