This topic is: resolved
- This topic has 2 replies, 2 voices, and was last updated 11 years, 3 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Home › Forums › Quform WordPress › popup with button using "the 7" theme
I am trying to get the modal popup to work with a button. It works fine with a link but I need to use a button. Here is what I have tried so far and none of it works.
[iphorm_popup id="1"][/iphorm_popup]
[dt_button size="small" animation="none" icon="" icon_align="left" color="" link="#form-1" target_blank="false/true"]BUTTON[/dt_button]
<script type="text/javascript">// <![CDATA[
jQuery(document).ready(function ($) { $('a[href="#form-1"]').click(function () { $('.iphorm-fancybox-link-1').click(); return false; }); });
// ]]></script>
This one brings me to the top of the page.
[iphorm_popup id="1"][/iphorm_popup]
[dt_button size="small" animation="none" icon="" icon_align="left" color="" url="#form-1" target_blank="false/true"]BUTTON[/dt_button]
<script type="text/javascript">// <![CDATA[
jQuery(document).ready(function ($) { $('a[href="#form-1"]').click(function () { $('.iphorm-fancybox-link-1').click(); return false; }); });
// ]]></script>
You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
I got it working. Great plugin btw!