Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reveal original text on hover instead of click #22

Open
agispas opened this issue Apr 10, 2014 · 1 comment
Open

reveal original text on hover instead of click #22

agispas opened this issue Apr 10, 2014 · 1 comment

Comments

@agispas
Copy link

agispas commented Apr 10, 2014

Hi,
Great plugin!
I'm wondering if it's possible to reveal the original text/image on hover instead of clicking to see the original text. This can be great.
Is this possible ?

@Vheissu
Copy link
Contributor

Vheissu commented May 19, 2014

This would definitely be achievable. You'll have to edit the spoiler.js file (more specifically line 77 onwards) where the click and hover events are added and switch the code around a little bit. Definitely achievable with a few minutes of effort. Let me know if you need help doing this.

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

No branches or pull requests

2 participants