Okay
  Public Ticket #1368051
Layerslider Popup
Closed

Comments

  • Hamzzz96 started the conversation

    Hi, 


    I have set up two sliders; one on my site and one as a popup that I would like to be triggered when the button in the first slider is clicked. Could you please assist on setting this up. 

    Regards,

    Hamza 

  • [deleted] replied

    Hello Hamza,

    Thank you for getting in touch with us. My name is Attila and I'm happy to assist you today. I appreciate your patience while we've been working towards your ticket.

    If you want to trigger the popup with a button (layer) from another slider, you will need to enter the following line to the Open By Click field of the popup slider: #example
    And then set an ID in the Link & Attributes tab, for the button (layer) in the other slider with the same name: example

    Please also make sure that the sliders that you want to use (the popup as well) are added to the page. You can also use the Slider Settings -> Popup -> Target Pages section for this purpose.

  • Hamzzz96 replied

    Hello,

    I have done this but it still does not work, could you sign in and perhaps amend for me please? 

  • [deleted] replied

    Sure, we can take a look if you set up a login for us.

  •   Hamzzz96 replied privately
  • [deleted] replied

    Thank you. We will take a look to see what we can find, and get back to you shortly.

  •   Hamzzz96 replied privately
  • [deleted] replied

    The # was left out from the Open By Click field in the Slider Settings -> Popup section. It has to be #example as it's a selector. We've made this change for you. Also, we removed the All Pages option from the Target Pages tab. As you've also added it with shortcode it was inserted twice, but it's fine now.

  •  2
    lijecreative replied

    Use a jQuery selector :)

    .target (class)

    #target (id)

    You got plenty: https://api.jquery.com/category/selectors/