Created
May 29, 2022 17:40
-
-
Save divimode-philipp/337d68498cf91eb1261a414f1ce63ef0 to your computer and use it in GitHub Desktop.
Generic trigger snippet for Popups for Divi / Divi Areas Pro to trigger the given Popup after a delay.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
(function () { | |
// TODO: Adjust the following two lines: | |
var popup = 'contact'; // Your Popup ID. | |
var delay = 5; // Delay [in seconds]. | |
setTimeout(function () { | |
DiviArea.show(popup); | |
}, delay * 1000); | |
})(); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment