Hello,
We have a need to trigger the login modal in some cases with JS dynamically. Is it possible to trigger the login pop up function directly?
Thanks-
Stan
-
This topic was modified 1 year by
ipro-wpadmin.
Hello,
A solution could be to let the login page in Opt-in Builder like it was before, and set the page in a modal popup, and set the modal on the header https://i.imgur.com/pW11p13.png -> https://forum.tagdiv.com/modal-popup/
Thank you!
In this situation we need to be able to trigger the pop up automatically on page load but only for certain users. Using the page load trigger does it on all pages no matter who you are so that wont work.
We were hoping to tie into the already existing JS function that opens the pop up when we need to trigger the login modal? We would do this on our end with a script. I’ve tried triggering a click to the login link with JS but that doesn’t behave the same way as an actual user click.
I know this is a weird case. In this case we are detecting on our end when we want to trigger the login pop up. We want to trigger the login popup with our code using JS. Is there a JS function we can call to trigger the login pop up?
Second option could be to create a new modal pop up using TagDiv. Is there a easy way to trigger the modal pop up in this case with custom JS, using a built in TagDiv function?
example for certain users we want to trigger the pop up ourselves.
window.onload = TagDivPopupTrigger;
Thanks-
Stan