-
-
Save timersys/d68690a85aed14a02318 to your computer and use it in GitHub Desktop.
// To open popup with ID 3 on same page (preferred) | |
<a href="" class="spu-open-3" title="Click here">Click here</a> | |
// Another way | |
<a href="#spu-3" title="Click here">Click here</a> | |
// To go to a new page and open a popup there | |
<a href="http://mydomain.com/new-page/#spu-3" title="Click here">Click here</a> |
Hi Timersys, could I add the popup to a premium theme's button element, so that a user clicks a button for the form to popup?
Here I'm using the theme 'Massive Dynamic' and would like the popup to work by adding a link to the "Link URL" area shown in this Microsoft OneDrive image: https://1drv.ms/u/s!AkAY-dRACUrgkqdqeE-SOwC1u-9Sew
@collinvb yes. You just have to follow the steps established above.
Hi,
is it possible to add a URL Query when opening a Gravity form in a pop up using a link as a trigger?
When I use your method above the form is empty without a prepopulated fields. Prepopulation works when not using a form in a popup.
Link looks like this:
<a href="my.site/page-name?country=australia" class="spu-open-18" title="Click here">Click here</a>
This way it does not work.
Hi. Do you still with this problem?
Hello,
I'm afraid it only works partially. In the German version the popup works, in the English version translated with WPML it doesn't work.
The link looks the same as the German one, but with /?lang=en at the end.
<a href="https://www.mypage.de/layout---------/-------/?lang=en" class="spu-open-4358" title="Click here">Click here</a>
Hi @ellkam, you should use trigger class instead of urls.
Hello, you know how I can make the popup open automatically using a command in php or html?
I have a condition function (if... else) in php and I require the popup to open in some condition.
Thank you