Web Hosting
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: Making Mailchimp popup open on Click

Discussion in 'Misc WordPress Requests' started by ThemesGrove, Oct 12, 2017.

  1. ThemesGrove

    Guest

    Reply To: Making Mailchimp popup open on Click, by ThemesGrove

    $(window).scroll(function() {
    if ($(window).scrollTop() > $(window).height() / 2)
    {
    // middle of page hit, load extra content here
    alert('You are in the middle of the page');

    // Uncomment out the line below to unbind the scroll event if the
    // execution of this code is only desired once.
    // $(this).unbind('scroll');
    }
    });

    You can use above code to ensure its middle of the page.
    Thanks.

    Reply To: Making Mailchimp popup open on Click
     
    #1

Share This Page

Web Hosting