Reload slide after closing lightbox
Sep 25, 2014
I would like to reload a slide after the user closes a lightbox.
I have three buttons on a main slide: Slide 01, Slide 02, Slide 03. Each will launch a lightbox that opens a scene. Once the user views all slides within the scene she closes the lightbox. I want to show that she has completed the scene by changing the state of the button (a check) on the main slide. I can't just use the visited state because the user has to view all slides in the scene to get credit. So I have a trigger on the last slide of the lightboxed scene to change the state of the button on the main slide. This is all great but the main slide will not reflect this trigger because it will have to reload. Is there a way to close the lightbox AND reload the main slide that originally launched the lightbox?
Note: I know this won't be possible using the default close button. I plan to address this using a custom close button with text next to the default close button to alert the user to not use it (too bad we can't get rid of this, but that's another matter).
6 Replies
Hi Michael,
I was able to accomplish this using the following steps:
Hopefully this works for you - let me know if you have any questions!
Nelson
Nelson,
That worked! I'll have to try in out now with all of my other logic and see how things synchronize or crash-n-burn.
Thanks for the help. Sometimes you overthink things--as in this case--when the answer was right there in front of you all along.
Thanks again.
No problem - glad it worked for you!
Upon further inspection this solution does not work for me. In fact, the Visited state is the default state of a button after it is clicked so it will always show visited after you click it, much like the link states of hyperlinks on a web page.
In my original solution I set the button to change to a completed state on the Timeline Start which works perfectly on subsequent pages that include the button (button is greyed out--expected behavior). BUT, the challenge is finding a way to change the button on the same page that launches a lightbox scene upon closing of the lightbox. I appreciate your file and the response Nelson, but I don't think we're there yet.
I've attached a revised version that has three buttons with the same type of variable (true/false) that triggers the button change. But the blue button uses my solution which you'll see changes to the completed state on subsequent pages after it is clicked. The red and yellow buttons use your solution. All three buttons have a visited (orange) AND a completed (grey) state.
Still looking for a solution.
Hello Nelson,
I know it was a long time ago, but did you find the solution for this problem finally ?
Now, I'm working with storyline and I have the same problem. But in my case, the buttons work great on the "Review" mode, and on HTML5 it's the same issue.
Looking forward to hearing from you !
Hello Darya!
In case Nelson is no longer subscribed to this thread, I wanted to mention you can also contact him directly through his ELH profile. And if you'd like more specific help with your file, feel free to attach it here so the community can chime in and assist!
This discussion is closed. You can start a new discussion or contact Articulate Support.