Lightbox

Business Background

The lightbox functionality refers to a feature that displays images or content in the focused drawer when open, while dimming out the rest of the webpage in the background. It’s often used to showcase content in a more prominent and immersive way without navigating away from the current page. This can enhance user experience by allowing them to view detailed content without interruptions from the surrounding elements on the webpage.

If this option is disabled, the drawer must be closed with the Close icon. If enabled, it can be closed by clicking anywhere on the page.

How to Guide

  1. Click the icon to open the list of elements.
  2. Select the Containers option from the list.
  3. Click-and-drag the Drawer element to the canvas.
  4. Click the Drawer element settings Gear icon. The Custom Drawer Settings screen opens.
  5. Select the Interactivity option. The Lightbox option is checked by default.
Lightbox option enabled
Lightbox option enabled
  1. Drag a button element to the canvas.
  2. Click the On Click Action icon.
On Click Action icon
On Click Action icon
  1. Click the + icon next to the Start node.
+ icon
+ icon
  1. Under Layout Actions, select the Drawer/Modal option and click the Next button.
Add Node screen
Add Node screen
  1. For the Drawer, use the toggle switch to enable it.
  2. Use the drop-down list to select the drawer.
  3. Click the Show radio button and click the Next button.
  4. Add a tag if necessary and click the Insert button. The Drawer/Modal node is added.
Add Node/Drawer/Modal screen
Add Node/Drawer/Modal screen
  1. Click the Apply button.
Node added
Node added
  1. Save and Preview the project.
  2. Click the button to open the drawer.

When the Lightbox option is checked (enabled), the contents are displayed while the rest of the page is greyed out. The user can click anywhere on the webpage to close the drawer.

Lightbox option enabled
Lightbox option enabled

When this option is not checked (disabled), the user must close the drawer using the < icon at the top right of the drawer. When the drawer is open, the rest of the web screen doesn’t become greyed out.

Lightbox option disabled
Lightbox option disabled
Note:

Make sure that the drawer is not pinned (Allow Pin is disabled). When pinned, the drawer will only close when the < icon is clicked, even if the Lightbox option is enabled.

This image has an empty alt attribute; its file name is image-1236.png

Hidden Title

Need more help?

Titan logo
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.