Home › Forums › Quform WordPress › Popup Form Button Link?
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!
You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
Thanks for your help!