ScrollTo doesn't work in custom Popup

Home Forums Quform WordPress ScrollTo doesn't work in custom Popup

This topic is: resolved

This topic contains 3 replies, has 2 voices, and was last updated by  friiiick 7 months, 1 week ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #28918

    friiiick
    Participant

    Hi

    I created a custom Popup with one of your forms, because I want to use the same Popup for all Popups 😉

    But now the “ScrollTo” Script doesn’t work propably because it’s not fixed on my Popup.

    Is it possible to change that the “ScrollTo” script takes my custom class of the Popup as the “Scroll-To Point” or isn’t that possible.

    Thanks,
    Chris

    #28919

    friiiick
    Participant

    Here would be the link to my dev site: https://dev.demenzmeet.ch/meet/zuerich/?popup=ticket

    At the moment I use following script:

    jQuery('.quform-submit').click(function(e) {
    jQuery('.overlay').animate({scrollTop: 0}, 1000);
    });

    But if the error is at the bottom it’s pretty confusing 😉

    #28927

    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.

    #28984

    friiiick
    Participant

    Hi Ally,

    You’re a genius – it worked! 🙂

    Thanks & have a beautiful day
    Chris

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

Be inspired. © 2019 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy