How to create a Page Load popup in Joomla
To set up your box to trigger on Page Load go to your box > Trigger Tab > Trigger Section and apply the following settings:
- Click on Trigger Point and select on Page Load.
- Set the delay of the trigger by entering a number in milliseconds in the Delay setting.
Below you can find all settings that are configurable when you choose the "on Page Load" Trigger.
|on Page Load
|Fires when the whole page has loaded
|Delay trigger in miliseconds. Leave 0 for immediate execution or enter 2000 for 2 seconds delay.
If the trigger point is set to onElementHover then this value is used to delay or prevent the accidental firing of the box and attempts to determine the user's intent. It is recommended to use at least 30 ms.
Open box as soon as the page finishes loading
A use case for this trigger would be when you want to show a box once the page has finished loading, including all the assets of your site have finished loading. This essentially means your box will appear a bit delayed than on Page Ready but ensures your page is fully loaded.
Frequently Asked Questions
// Get box instance
const box = EngageBox.getInstance(5);