Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<script>
jQuery(window).on('scroll.popup', function() {
if (jQuery(window).scrollTop() >= 200) {
jQuery(window).off('.popup');
DiviPopup.openPopup('#get-newsletter');
}
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.