• 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)
  • Hello @el_coli,

    Apologize for the inconvenience!

    Triggering a popup on page load is relatively easy with Divi Areas Pro. However, I am not sure how to do that via a custom code.

    Regards,
    Syed

Viewing 1 replies (of 1 total)
  • The topic ‘Creating a popup on load’ is closed to new replies.