Limited availability during the holidays

Another busy year is coming to its end, and an exciting year lies ahead. In order to get ready for a fresh new start, our team will spend a few days' rest during the winter holidays. Over the holiday break, we will have reduced staffing from December 20th, 2024, to January 5th, 2025, so please be patient if you do not receive a response as quickly as you normally would.

We send our warmest wishes for happiness, health, and success throughout the coming year. Thank you for your continued support, and may you have a peaceful and blessed Happy Holidays!

Okay
  Public Ticket #3187803
Popup - popupShowOnClick
Closed

Comments

  • Ingo started the conversation

    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.

  •  138
    George replied

    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

  • Ingo replied

    Hello George,

    thanks, that works!

    Best regards,

    Ingo

  •  138
    George replied

    Thank you for your feedback!

    Best Regards,
    George | Kreatura Dev Team