-
AuthorPosts
-
April 11, 2015 at 1:27 pm #427023
I’ve been making some changes to my website recently and suddenly a QuForm Popup stopped working
This is the Code which worked
[av_button label=' פנה אלינו' link='manually,#show-form' link_target='' color='custom' custom_bg='#00b2ff' custom_font='#ffffff' size='large' position='right' icon_select='yes' icon='ue80f' font='fontello'] [iphorm_popup id=1 name="Form"][/iphorm_popup] <script>// <![CDATA[ jQuery(document).ready(function ($) { $('a[href="#show-form"]').click(function () { $('.iphorm-fancybox-link').click(); return false; }); }); // ]]></script>
This is the one that doesn’t work
[av_button label='יצירת קשר' link='manually,#show-form' link_target='' size='medium' position='center' icon_select='yes' icon='ue80d' font='fontello' color='custom' custom_bg='#19d823' custom_font='#ffffff'] [iphorm_popup id=2 name="Form"][/iphorm_popup] <script>// <![CDATA[ jQuery(document).ready(function ($) { $('a[href="#show-form"]').click(function () { $('.iphorm-fancybox-link').click(); return false; }); }); // ]]></script>
Isn’t there an easier way to work with popup forms and Enfold ??
April 13, 2015 at 5:18 am #427281Hi Haybazak!
Thank you for using Enfold.
Use a code or text block element. Add the quform shortcode inside. If you want to make it look like a button, use the Quick CSS fields to style it. For more info, please contact the plugin author.
Cheers!
IsmaelApril 13, 2015 at 6:53 pm #427728I’m in correspondence with the plugin author here:
http://support.themecatcher.net/forums/topic/quform-as-a-button-on-enfoldThat’s what he said:
There are JavaScript errors on the page because the script is being wrapped in P tags.
Does the theme have a custom JS section where you can add your own JS? If so you can add the code in there without the script tags. Or you can add it to one of the theme JS files. Maybe ask the theme author how they recommend that you add custom JS.
I wish to make it as an avid button without having to create a css button, i know it is possible because it works on my main site at http://haybazak.co.il (the one i posted before is a staged copy)
also what is the staff recommendation on using via buttons to launch a popup (fancybox or any other kind)?
April 14, 2015 at 5:21 pm #428355Hi!
I viewed your link and clicked on the buttons in the blue color section but they are opening up the forms correctly. Try clearing your browser cache.
Regards,
Elliott -
AuthorPosts
- You must be logged in to reply to this topic.