Skip to content
This repository has been archived by the owner on Mar 24, 2020. It is now read-only.

Any way to keep the hover state on click? #25

Open
bpsmpls opened this issue Jul 12, 2013 · 3 comments
Open

Any way to keep the hover state on click? #25

bpsmpls opened this issue Jul 12, 2013 · 3 comments

Comments

@bpsmpls
Copy link

bpsmpls commented Jul 12, 2013

When you hover over the state, the colors and effects work great. I've spent some time looking at the JS, but haven't figured out a good way to get the styles of hover to stay on during a click trigger. Anyone have any ideas?

@bpsmpls
Copy link
Author

bpsmpls commented Jul 12, 2013

Ohp. During my final rounds of searches, I stumbled onto this. Hopefully that'll help people hoping to do what I was doing. Worked for me!

@kondorwithak
Copy link

Thank you elsullivano for the amazing link! Thanks as well to Pullo from the SitePoint forums for figuring out the ID targeting!

@joshbell
Copy link

Thank you elsullivano and Pullo!! It works great.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants