Forum Discussion

LizForstmann's avatar
LizForstmann
Community Member
3 months ago

Lightboxes vs Layers

Can someone explain to me why I would opt to use a lightbox instead of a layer? 

  • AndrewHanley's avatar
    AndrewHanley
    Community Member

    Hi Liz.

    Light boxes.open up whole slides from anywhere else in the course.

    Layers are just a single page of content within one slide.

    They are both for quite different purposes usually.

    For example, if a user gets one of my questions wrong, I might choose to show them a slide from the course which contains the learning to the question they got wrong. With a lightbox I can do this from right inside the Incorrect feedback without even leaving that slide!

    Light boxes are perfect for this, and it wouldn't be possible for a layer without giving me extra work and headaches.

  • I second what Andrew says. When you need the same content to be available from anywhere in the course, it makes sense to lightbox it. That avoids having to edit the content in multiple locations. 

    Andrew's example is a good one: allowing the user to easily review the slide(s) related to a question. 

    Another good use is to lightbox content that might be useful throughout the course via a Player tab. For example, that could be a custom glossary or resources slide. Or a Help slide. This post has more info about this option: https://community.articulate.com/discussions/articulate-storyline/tip-create-custom-player-tabs-for-your-resources-glossary-and-more 

    Historical footnote: In the early days of Storyline, using a lightbox instead of a layer was the only way to prevent the user from interacting with the Player when that content was open. Now, however, one can use Dialog layers. Those, like lightboxes, cover the Player.