Okay
  Public Ticket #1716844
trigger two events on click
Closed

Comments

  • Pam started the conversation

    I have a popup with a button for the user to write a google review or rate us. It opens a new window. I also want the popup to close at the same time. I know I can add a close button, but wonder if it is possible to make this happen without the extra interaction.

  • [deleted] replied

    Hello Pam,

    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.

    Adding the #closepopup smartlink to the linking field of a layer will close the popup. So you don't necessary have to use the default close button.

  • Pam replied

    I must not have explained this properly. Can you give me an example of how to link to a new window while also closing the popup? http://bit.ly/2O2N0aw #closepopup

    How do I trigger a close after I trigger the link to open?

    I've tried moving all layers out of view, but since the popup isn't actually closed, the form fields and links under it aren't accessible. 


  • [deleted] replied

    Unfortunately at the moment there is no built-in option in the plugin to apply two different links to a single layer. 

    However you should be able achieve this by using the LayerSlider API and event callbacks: https://layerslider.kreaturamedia.com/documentation/#layerslider-api
    Please note that it requires custom coding and web development knowledge so it is not recommended for inexperienced users.