Hello. I hope someone here can help me. I have a page that has a Pro Gallery on it. I had it set up initially so that when you clicked one of the images, it would pop up larger in an expand mode window. Unfortunately, I am not able to customize the expand mode page, so I decided to set it up in a lightbox page.
I was able to pass over the image and the title from the gallery of the image I am clicking on, but I would like to now create a previous and next button on the lightbox page so that I can continue to go through the gallery of images in the lightbox page.
This is what I have so far in my lightbox page:
import wixWindow from ‘wix-window’ ;
$w . onReady ( function () {
let received = wixWindow . lightbox . getContext ();
$w ( ‘#lightBoxReceive1’ ). text = received . pageSend1 ;
$w ( ‘#lightBoxReceive2’ ). src = received . pageSend2 ;
} );
This sends the image and title over. How do I set up the arrows now to go through the rest of the images in the gallery.
Thank you,
Adam