Lightbox close button not working

May 12, 2024

Hi.  I have created a couple of lightbox slides which work perfectly.  I then created a trigger within a lightbox to open up another lightbox slide.  This works, however the close button (cross) top right doesnt seem to be enabled.  It is there, but is not clickable.  Attached source file and would appreciate someone showing mw what I am doing wrong! The lightbox file in question is 2.1 classification, then in there click on the Public Information (Rank D) box to open up.2.3 Appendix lightbox.  This appendix slide is the problematic one!.  Thanks Roz

7 Replies
Roz Gilmour

Again thanks Jurgen.

I am having an issue with the trigger however.  I am unable to follow it as I cannot find how to hide this layer and it to be lightbox 2.3.  I apologize as I am new to Storyline and this is my first project.  Are you able to expand the trigger so I can see how you have created it. Many thanks

Jürgen Schoenemeyer

you have to add this trigger only on slide 2.1 Classification & Disclosure Rules, layer "PI"

step 0: set "Group" trigger view (on top right)

step 1: add the new trigger

step 2: after OK clicked (triggers now in wrong order)

step 3: correct order -> drag the new trigger with the mouse

no changes on 2.3

result on review 360:

https://360.articulate.com/review/content/bd3b974a-05b1-4c7c-b5bc-f69ffaf8b50f/review

 

 

Roz Gilmour

Jurgen!

Can you solve this for me relating to this previous issue?  So, it all works beautifully, until I am in the 360 room, I click on the marker Classification & Disclosure Rules which takes me to Lightbox 2.1.  In there, all the boxes work and I can close the lightbox to return to the 360 room.  Even works when I click the blue text within the Public Information (Rank D) box  to open up another lightbox.  Here however, once I have viewed the content within Lightbox 2.3, I need it to go back to the lightbox 2.1 so that people can view other tiles.  It does not.  It goes back to the 360 room, so you need to click back into the marker to access it again.  I dont however want this to affect 2.3 when the user can access it later from 1.7 Appendices.  Here when the user goes into 2.3, and clicks next, it returns them to 1.7

(I really need to get a better understanding of variables and triggers!)

Really appreciate if you can cast your wisdom
Regards
Roz

Jürgen Schoenemeyer

you want for the lightbox close button

  •  slide 2.3 (lightbox): click close  -> jump to slide  2.1 (lightbox)
  •  slide 2.1 (lightbox): click close -> close the lighbox

this is not possible for the standard close buttons - there are no trigger events for this type of buttons

workaround:

  • on start slide: hide the standard lightbox close button with javascript
document.getElementById("light-box-close").classList.add("hidden");
  • create a custom close lightbox button
  • add as click trigger "Close lightbox" or "Lightbox ... " depending on what you want