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
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
Hmmm, so is it possible to have a popup enfold contact form from an enfold full width button or button?
Cheers
If you set the link (of the button) to something ending in ?inline
it will trigger the JS function above.
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
Seems to be working fine, glad you found a solution.
Cheers,
Josue