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

SVG Shape for Button #82

Closed
michaelpfaff opened this issue Sep 28, 2017 · 2 comments
Closed

SVG Shape for Button #82

michaelpfaff opened this issue Sep 28, 2017 · 2 comments

Comments

@michaelpfaff
Copy link

First of all, thanks for the awesome code!

I'm trying to figure out how to use an SVG shape for this section instead of a button:

<!-- Add an optional button to open the popup --> <button class="my_popup_open">Open popup</button>

But, I can't figure it out.

  1. Is that even possible?
  2. If so, any help trying to figure it out?

Thanks!

@pvgoran
Copy link
Contributor

pvgoran commented Sep 29, 2017

The jquery version used in the examples (1.8.2) doesn't seem to handle <svg> elements well. With the (now latest) jquery version 1.12.4, you just set class="my_popup_open" for your <svg>, and it works.

@michaelpfaff
Copy link
Author

@pvgoran Thanks! I'll try changing the version!

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

3 participants