Popup Form Button Link?

Home Forums Quform WordPress Popup Form Button Link?

This topic is: resolved
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #9620
    danieltjohnston
    Participant

    I was hoping to get the popup form via a button link to function alongside another script that I’m currently running on a page.

    I followed this tutorial (https://support.themecatcher.net/quform-wordpress/guides/customization/link-the-popup-form-to-a-button-shortcode) but it is not working, I’m guessing because of another script that the page is running.

    The script that is currently running on the page enables smooth scrolling from a #link to its corresponding div.


    jQuery(document).ready(function(){

    jQuery('a[href^="#"]').click(function(e) {

    jQuery('html,body').animate({ scrollTop: jQuery(this.hash).offset().top}, 1000);

    return false;

    e.preventDefault();

    });
    });

    Is there a way to get the two scripts to play nicely together so that I can still have the smooth scrolling to the divs and the form popup?

    Thanks!

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

    #9654
    danieltjohnston
    Participant

    Thanks for your help!

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