Creating a popup on load
-
Hi there!
Trying to create a Popup when the page is loaded and I can’t make it work.
What I did is creating a popup called #aviso and inside the popup I inserted a Code element with this code inside:
<script>
(function {
DiviArea.addAction(‘ready’, function() {
// Option 1: Show the Popup instantly.
var popupId = ‘aviso’; // TODO: ← Enter the ID of your Popup here!
DiviArea.show(popupId);
});
});
</script>What I’m doing wrong?
Thank you
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Creating a popup on load’ is closed to new replies.