I have created a Maxbutton which is displayed inside of a slider. I want the button to display my pop-up when pressed. I side the Maxbutton editor is a place for the URL: I’ve tried the following but nothing works. I have the PRO version.
Click on certain link / button / other element
Copy & paste next code – into required link to open PopUp on Click:
Or, if you know HTML basics, – you can insert “onclick” attribute to any of your element from code below:
I set up a test page: sednawealthmanagement.com/test – It shows a link to the pop up that I want to display and the maxbutton. In the maxbutton URL field I have the shortcode: [supsystic-show-popup id=101].
You should add onclick attribute to your link. Something like this: <a class="maxbutton-11 maxbutton maxbutton-subscribe" onclick="ppsShowPopUpOnClick(101, this); return false;" href="https://supsystic.com"><span class="mb-text">SUBSCRIBE TO NEWSLETTER</span></a>
I tried it via browser console on provided page and it’s working.