• Resolved jberg1

    (@jberg1)


    Is it possible to trigger some jQuery after a delayed popup is revealed?
    For example:

    $.when( initPopup() ).done( function(){
      //Do Stuff..
    };

    What function would be waiting for to complete?
    Or how would I utilize the “Custom Event Delay” option in the popup editor?

    Thanks for any guidance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • I figured it out.

    sgAddEvent(window, 'sgpbDidOpen', function() {
       //Do Stuff..
    };

    Let me know if there is a better way.
    Thanks.

    Plugin Support Sygnoos Support

    (@sygnoossupport)

    Dear @jberg1,

    You can try the following solution:

    sgAddEvent(window, 'sgpbWillOpen', function() {
      //Do Stuff..
    }); 
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Trigger after delayed popup’ is closed to new replies.