Forum Discussion

RozGilmour's avatar
RozGilmour
Community Member
5 months ago

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

  • 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

     

     

  • RozGilmour's avatar
    RozGilmour
    Community 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

  • RozGilmour's avatar
    RozGilmour
    Community 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.

  • RozGilmour's avatar
    RozGilmour
    Community 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

  • RozGilmour's avatar
    RozGilmour
    Community 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

  • 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