Page 1 of 1

Open In Light Box - Settings bug?

Posted: Sat Jun 04, 2022 4:54 pm
by tshoda
Hi

I would like to open a page in a Light Box with the following settings:

'transitionIn':'elastic',
'transitionOut':'elastic',
'speedIn':400,
'speedOut':400,
'overlayShow':true,
'overlayColor':'#ccc0da',
'showCloseButton':false,
'width':430,
'height':650,
'centerOnScroll':true

I've tried putting the data above into the 'settings' but when I publish and preview the page, none of the settings have registered. The page opens in light box but without the setting adjustments.

Does anyone know why?

Many thanks for your help

Re: Open In Light Box - Settings bug?

Posted: Sat Jun 04, 2022 5:02 pm
by Pablo
Did you use this settings in combination with fancybox?

Re: Open In Light Box - Settings bug?

Posted: Sat Jun 04, 2022 5:36 pm
by tshoda
Hi Pablo

I think I've used the default:

Link > Target Window> Target: open in a Light Box

Re: Open In Light Box - Settings bug?

Posted: Sat Jun 04, 2022 5:45 pm
by Pablo
The default lightbox is MagnificPopup. This can be set in the Page Properties.
The settings you have used are only valid for Fancybox.

Re: Open In Light Box - Settings bug?

Posted: Sat Jun 04, 2022 6:06 pm
by tshoda
Thanks Pablo. I've got it to work :D