Forum Discussion
RozGilmour
7 months agoCommunity Member
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...
Jürgen_Schoene_
6 months agoCommunity 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