Forum Discussion
Lightbox close button not working
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
- Jürgen_Schoene_Community Member
very interesting problem - lightbox with an opened layer jump to another lightbox
jumg to the second lightbox => layer of the first lightbox is no closed and is blocking the close button for the second lightbox
fix: add an extra trigger before jump to the second lightbox
- RozGilmourCommunity Member
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_Schoene_Community Member
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
- RozGilmourCommunity Member
I am still not getting this sorry and the AI-fix_lightbox.story file wont open.
I can add the trigger fine...but I cannot get it to state - lightbox 2.3 Appendix Lightbox. This is where I was stuck before. I can create the trigger but cannot get it to add this 2nd part of it.
- RozGilmourCommunity Member
Its ok Jurgen. I have realised what you have done so please ignore my last comment. It is working fine by adding the lightbox action.
Many thanks and have a great week
Roz
- RozGilmourCommunity Member
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_Schoene_Community Member
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