Pop-ups are modal boxes that appear over the page content to show extra information, images, videos, or interactive activities. They are created for a specific page and are triggered when the learner clicks a pop-up trigger in the content. The same pop-up can be linked to multiple triggers on the same page by applying the same trigger to different text or content.
Navigate to any content field under any page type which supports pop-ups. If you now begin editing content, you should find a Popups option under the Formats option in the toolbar.
Pop-ups can also display all types of blocks as well as content. See Adding blocks to pop-ups for more details.
Video can be added to a pop-up by clicking on the Media tab within the pop-up window. As with adding media to a page or block, there are options to select where the video is placed in the pop-up and which video to display, as well as an input field to restrict the width and height of the video.
In the pop-up editing window, the checkbox Show as small pop-up can be checked to make the pop-up a small tooltip-style pop-up rather than the standard modal window. This works best with text rather than images, and only a limited number of words.
You can customise the trigger’s background or font colour by adding HEX values in the Background colour of the trigger and Font colour of the trigger fields.
The background colour sets the highlight for the selected trigger text in the back end. Leave the background colour blank if the trigger is an image.
This will not affect the colour of the trigger text in the front end.
Pop-up triggers are actually CSS classes—therefore they can be added to other kinds of content if needed, or have styling added specifically for that class.
Here's some content for the pop-up which will only display once the pop-up bug has been fixed...