Thank you for getting in touch with us. My name is George and I'm happy to assist you today. I appreciate your patience while we've been working towards your ticket.
The 'openpopup' string is a class name here, so in the LayerSlider init code you should add this string with starting a dot character, by the following way:
How does the popupShowOnClick work. I added
'<a href="#" class="openpopup" data-ls-popup-slide="3">Open Popup</a>'
to the Popup-Photo-Gallery example + added the parameter to the list of parameters for the layerslider instance.
'popupShowOnClick: 'openpopup','
I assumed (hoped) that the gallery will open with the slide number define in the dataset.
Did I configure it the wrong way or did I completely misunderstand it purpose?
Layerslider 7.2.5
My goal is to open the gallery by clicking on a image of the gallery image set, preferably starting with the image selected.
Attached files: popup.jpg
Hello Ingo,
Thank you for getting in touch with us. My name is George and I'm happy to assist you today. I appreciate your patience while we've been working towards your ticket.
The 'openpopup' string is a class name here, so in the LayerSlider init code you should add this string with starting a dot character, by the following way:
...
...
popupShowOnClick: '.openpopup',
...
...
Best Regards,
George | Kreatura Dev Team
Hello George,
thanks, that works!
Best regards,
Ingo
Thank you for your feedback!
Best Regards,
George | Kreatura Dev Team