Popup buttons open a standalone document or a URL in a popup, when <Trigger> is triggered. The popup can be opened in either a lightbox or a new window, according to <Mode>.
To insert a popup button, use Basic Elements > Popup. Alternatively, to insert one of the preset navigation sets for a richer out-of-the-box experience, use Basic Elements > Navigation Set.
Source |
||
Source | Resource | The standalone document to open in the popup. |
URL | URL | The URL to open in the popup. |
Behavior |
||
Trigger | Select | click – The popup is triggered when the button is pressed. timer – The popup is triggered after an interval specified by <Trigger Delay>. |
Trigger Delay | Unit | When <Trigger> is timer, the interval to wait before triggering the popup. |
Mode | Select | lightbox – The popup is opened in a lightbox. new window – The popup is opened in a new window. |
Style Rules |
||
Mouse Over Style | Style Rule | Used when the mouse is over the button. |
Pressed Style | Style Rule | Used while the button is being pressed. |
Lightbox allows opening a popup on top of the current document, while dimming the content behind it. A lightbox popup can be closed using the close button, or by simply pressing outside the lightbox.
Lightbox |
||
Width | Unit | The width of the lightbox. When auto, a standalone popup gets the width of the course. |
Height | Unit | The height of the lightbox. When auto, a standalone popup gets the height of the course. |
Outline Width | Unit | Thickness of the lightbox outline. |
Outline Color | Color | Color of the lightbox outline. |
Close Button | Media | Image used as the icon for the lightbox close button. |
Close Left | Unit | Horizontal offset of the lightbox close button. |
Close Top | Unit | Vertical offset of the lightbox close button. |
Show Scrollbars | Select | when needed – Scrollbars are shown when the content exceeds the specified lightbox size. no – Scrollbars are not shown. A URL lightbox may not necessarily respect this setting. |
New window popups allow to continue interacting with the course while the popup is still open.
Popup |
||
Width | Unit | The width of the window. When auto, a standalone popup gets the width of the course. |
Height | Unit | The height of the window. When auto, a standalone popup gets the height of the course. |