Okay
  Public Ticket #1508638
launch a Popup with clicking
Closed

Comments

  • vv777777 started the conversation

    How can I launch a Popup with clicking on a specific link on page?

    I'm non able to write the correct html code

    Thanks

  • [deleted] replied

    Hello vv777777,

    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: #example
    And then set an ID in the Link & Attributes tab, for the button (layer) in the other slider, with the same name: example

    In case you want to start a popup slider with a button outside of a slider from your site, you will need to apply an ID (id="example") or class (class="example") on that button and enter the same selector for ID (#example) or class (.example) to the Open By Click field in the Slider Settings.

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

  • vv777777 replied

    Thank you Attila, I had already read this. Could you give me an example of the html code for the button to include in my site?

  • [deleted] replied

    There is no HTML code you need to use. Simply apply an ID or class on the button in your site. The theme/page builder usually provides an option for this in their admin interface, when setting up the button.

  • vv777777 replied

    it doesn't work


    [su_button style="default" background="#2D89EF" color="#FFFFFF" size="3" wide="no" center="no" radius="auto" icon="" icon_color="#FFFFFF" text_shadow="none" desc="" onclick="#example" rel="" title="" id="example" class="example"]Button text[/su_button]

    http://losaisalute.it/


  • [deleted] replied

    Thank you for the feedback. My colleagues and I will check what might be wrong with the popup trigger, and get back to you shortly.

  • [deleted] replied

    We couldn't locate the exact problem in the front-end unfortunately. Could you please set up a temporary WP login for us, so we can check the back-end as well ?

  • vv777777 replied

    http://losaisalute.it/wp-admin/

    salute-buzz
    NKyx)3P9nm5Q4LU#UT

    you can set an example were you want

    thanks


  • [deleted] replied

    Thank you. We'll check on it and get back to you with the results.

  • [deleted] replied

    In the Open by click field of your popup there was only example added. It needed to be .example as it's a class. We've corrected it for you.

    Now all you need to do is to remove onClick="#example" from the button, and it will work.

  • vv777777 replied

    I try remove onclick from the bottom but it doesn't work and reload the page

    Could you please chanche directly the html code from my home page

    No problem, it is a develop page

    thanks a lot


  • [deleted] replied

    Thank you for the feedback. We'll check on it.

  • [deleted] replied

    We've investigated this and there seems to be a small glitch in the current version of LayerSlider. If you use  an <a> element, then on click the URL will be used and redirected there. We will adjust this in the upcoming release, in the meantime you can use a div element instead of  an <a> to work around this. The result will be the same and you can apply the same classes as well. Thank you for your understanding and sorry for the inconvenience.