Question:
I have a gallery set up as a CMS. The gallery shows Image Group A.
When you click on an image in the gallery, I’d like it to open a corresponding item from Image Group B in the same page, ideally as a lightbox.
I have Image Group A and Image Group B both set up as CMS, and a Lightbox gallery linked to Image Group B, but Im not sure how to link them.
I’m having this same problem. I just want to launch a Lightbox or even an Anchor Point from CMS. I set up a Dropdown to easily launch a PDF Download when the button below it is selected. But, not easy to figure out a way to launch a Lighbox.
If the need to open a pop-up after clicking on the “download” button is to show a “thank you message” or any other static information, you need to add the following code:
Page code:
import wixWindow from 'wix-window';
$w.onReady(() => {
$w("#YourButtonName").onClick(() => {
wixWindow.openLightbox("Name of the LightBox")
})
});
Interesting. So I can basically do it as a “Form Submission” But I add that code to the Page, or to the Thank You Message, (And then, behavior wise… The User has 10 different options, and I want each option to be a separate Lightbox that launches.)