• Hi guys, great plugin I just have two questions for you:

    1. Is there a way I can make the popup itself scroll with page? So I can keep it centered all the time

    2. I’m using your plugin to display Login / Register forms on my BuddyPress site and everything is working perfectly. As you know, these forms have links in the bottom (Login links to Register and vice versa). Since I handle these forms exclusively with your plugin is there a way I can find some kind of url of the popup? Basically to jump between popups if necessary?

    Thanks for your help

    https://www.ads-software.com/plugins/easy-modal/

Viewing 1 replies (of 1 total)
  • 1) Display Options -> Fixed Postioning [sic] -> Checking this sets the positioning of the modal to fixed

    2) Never used BuddyPress, so here’s a more generic answer. Let’s say the top-level Login/Register modal has an ID of “top-modal”, the Login modal is “login-modal”, and the button you mentioned is “login”. You want the top-level modal to close and the Login one to open. The following script should do the trick…

    $('#top-modal button#login').on('click', function() {
        $('#top-modal').emodal('close');
        $('#login-modal').emodal('open');
    });

    You can even return to the original modal after the Login one closes…

    $('#login-modal').on('emodalAfterClose', function() {
        $('#top-modal').emodal('open');
    });
Viewing 1 replies (of 1 total)
  • The topic ‘Popup scrolling with page:’ is closed to new replies.