After Clicking pop up Disappear !

This topic contains 1 reply, has 2 voices, and was last updated by  ITRO Team 1 year ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1785

    poashap
    Participant

    Is there anyway to close the pop up once the customer clicks the image inside the pop up?

    I am using it as an anchor tag and I want the pop up to close once the user reaches the anchor point? at the moment they have to click X after

    Thanks again

    #1806

    ITRO Team
    Keymaster

    Hello!
    this functionality is present in the Paid version (also LITE license): https://www.itroteam.com/wordpress-popup-plugin-marketing/guide-itro-wordpress-marketing-plugin/#shortcodes
    You can easily use our shortcodes to reach your object.

    However you can add the following JS to your theme custom script:

    jQuery(function($){
      $('#my-anchor').click(function(){
        itro_exit_anim();
      });
    });

    where “my-anchor” is the id of your html tag.
    This code call the “itro_exit_anim” function that trigger the popup closing.
    We this is helpful!

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.