Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #605066

    Hi,

    Sorry if this doesn’t fall into your line of support but I’m really hoping you can help me, I’ve bought about 40 copies of Enfold so maybe you can let me off haha!

    I’m trying to add a get a quote button which has a pop up form on it, I’ve found an add on for formidable forms which uses modal but I’m unsure on how to make this work with the enfold full width button, is there a way?

    Thanks,
    Matt

    #605180

    Hi,

    The popup script we use has the option to open inline elements (in the same page) as popup, you can invoke it with a custom JS code like:

    <script>
    (function($){
        $(window).load(function() {
            $('a[href*="?inline"]').magnificPopup({
             type: 'inline'
            });   	
        });
    })(jQuery);
    </script>

    The trigger link would be like:

    <a href='#modal?inline'>Link</a>
    

    More info:
    http://dimsemenov.com/plugins/magnific-popup/documentation.html#inline-type

    Regards,
    Josue

    #605194

    Hmmm, so is it possible to have a popup enfold contact form from an enfold full width button or button?

    Cheers

    #605198

    If you set the link (of the button) to something ending in ?inline it will trigger the JS function above.

    #605217

    I found an easier way through text so can I have this open as a button?

    This is what’s in the code block – “Request a demo
    <div style=”display:none” class=”fancybox-hidden”>
    <div id=”contact_form_pop”>
    [contact-form-7 id=”342″ title=”Contact form 1″]</div>
    </div>”

    Cheers

    #605569

    Seems to be working fine, glad you found a solution.

    Cheers,
    Josue

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.