Colorbox scripts.js setup

Home Forums Quform PHP Colorbox scripts.js setup

This topic is: resolved
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #36249
    oconnorshane
    Participant

    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

    #36254
    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.

    #36256
    oconnorshane
    Participant

    Thanks 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!

    #36259
    oconnorshane
    Participant

    Just one other enquiry, please; to change the fonts on the form
    which stylesheet(s) do I change?

    Thanks.

    #36261
    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.

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