popup with button using "the 7" theme

Home Forums Quform WordPress popup with button using "the 7" theme

This topic is: resolved
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #8250
    liquidvpn
    Participant

    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>

    #8253
    Ally
    Support Staff

    You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.

    #8276
    liquidvpn
    Participant

    I got it working. Great plugin btw!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Be inspired. © 2024 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy