Great modal plugin! Under the Examples tab I found your sample code to launch the modal from both a Link and from a Button.
The code you supplied for the Button worked perfectly. But the code you supplied for a Link didn’t work for me until I changed it from
<a href="#" class="eModal-2">Open Modal</a>
<a href="fred" class="eModal-2">Open Modal</a>
The name “fred” could probably be anything. Perhaps this will help someone else using your plugin?
I know a bit of HTML but I don’t really understand how the href=”#” works. I have seen it on other links generated by my theme for things like a “Back to Top” link. I’m using the customizr theme. Maybe that’s important?
No need for a reply. Just sharing my experience.