Retaining variables on a lightbox

Jan 22, 2020

Hi,

I am currently creating a compliance course allowing the learner to look around the workspace, and every time they see a hazard they can click on it to learn more. They have been given a notebook which is available through a lightbox link at the top of the page and the aim is that every time they find a hazard notes detailing it appear in the notebook.

I've set up variables for each hazard based upon True/False and clicking on the hazard changes the variable to True. Within the notebook, the text linked to that hazard is currently hidden, but when the variable connected to it changes to True, it's state changes to Normal.

However, when I visit the lightbox after clicking on the Hazard the text is only there for the first visit. When I return to the lightbox it has gone and no other text is visible either despite clicking on those hazards.

Can anyone help so that the text on the lightbox slide remains and builds up as they progress through the course?

5 Replies
Dan Whiteley

Hi Randy & Phil,

Thanks for the quick response and help. Phil, you were absolutely right. I had the triggers on the lightbox set to "Change the state of the object to Normal when the variable changes if the variable is True" and it should have been "Change the state of the object to Normal when the timeline starts on this slide if the variable is True".

It all now seems to work correctly so thanks both of you.

This discussion is closed. You can start a new discussion or contact Articulate Support.