Skip to main content

Lightbox

A single project can be embedded in a lightbox using the following code:

<smrtzr-project projectId="YOUR_PROJECT_ID" embedStyle="lightbox"></smrtzr-project>

The following attributes work alongside the common attributes here:

  • embedStyle - "lightbox"
  • lightboxTriggerTextSource - splashscreen or project - if set to splashscreen the trigger text will be taken from the splashscreen of the project, if set to project the trigger text will be taken from the project name
  • lightboxTriggerText - optional if you want to override the trigger text to a custom value

Customising the Lightbox Trigger

If you would like to create a custom lightbox trigger, you can. Please see Custom Trigger for more info.