Home › Forums › Quform WordPress › popup with button using "the 7" theme
- This topic has 2 replies, 2 voices, and was last updated 11 years ago by liquidvpn.
- AuthorPosts
- January 15, 2014 at 2:20 am #8250liquidvpnParticipant
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>
January 15, 2014 at 10:10 am #8253AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
January 15, 2014 at 10:24 pm #8276liquidvpnParticipantI got it working. Great plugin btw!
- AuthorPosts
- You must be logged in to reply to this topic.