Home › Forums › Quform PHP › Colorbox scripts.js setup
- This topic has 4 replies, 2 voices, and was last updated 11 months, 4 weeks ago by Ally.
- AuthorPosts
- November 23, 2023 at 1:17 pm #36249oconnorshaneParticipant
Hi, I’m trying to set up the form in Colorbox, without success.
Could you please confirm if this is the right order for the javascript:
<script type=”text/javascript” src=”quform/js/colorbox/jquery.colorbox-min.js”></script>
<script type=”text/javascript” src=”quform/js/plugins.js”></script>
<script type=”text/javascript” src=”quform/js/scripts.js”></script>And could you please confirm if this is right:
6. Add the JavaScript to show the Quform when the trigger is clicked
Add this code to js/scripts.js on an empty line inside the first function (on line 4 for example):1 ‘use strict’;
2 jQuery(function($) {
3 $(‘form.quform’).Quform();
4 $(“#show-quform”).colorbox({
5 inline: true,
6 href: ‘.quform-outer’,
7 height: 850,
8 width: 400
9 });Thanks!
Shane
November 24, 2023 at 10:44 am #36254AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
November 24, 2023 at 12:12 pm #36256oconnorshaneParticipantThanks for your help, it all works well! I’m still a newbie but it works and looks good in the popup.
We progress! Thanks again!November 24, 2023 at 2:11 pm #36259oconnorshaneParticipantJust one other enquiry, please; to change the fonts on the form
which stylesheet(s) do I change?Thanks.
November 27, 2023 at 9:44 am #36261AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
- AuthorPosts
- You must be logged in to reply to this topic.