Lightbox

Storyline lets you display slides in pop-ins, called Lightbox, over the base of a slide. However, the software does not allow you to modify the visual aspect.

For the purposes of a graphic charter, however, it may be useful to modify the elements that make it up.

Presentation


The feature implements several methods for deleting or modifying Lightbox graphic elements:

  • removeCloseButton : deletes the "Close" button from the Lightbox ;

  • removeWhiteBackground : deletes the white background of the Lightbox ;

  • smoothFadeIn: applies an animated effect when the Lightbox is displayed.

Each of these methods needs to be called only once in the main initialization trigger.

Deleting a graphic element


To remove the button and/or the white background, add the declarations to the main initialisation trigger.

JavaScript
Lightbox.removeCloseButton();

Attention


Don't forget to insert a close button and assign it a Lightbox close trigger, either in the applied Master slide or in the slide itself.

JavaScript
Lightbox.removeWhiteBackground();