Return to Snippet

Revision: 68805
at February 27, 2015 10:56 by mountainash


Initial Code
function dieExitBox() {
	if (typeof safetyCheck !== 'undefined') {
		if (safetyCheck) {
			safetyCheck = false;
			window.clearInterval(intervalID3);
		}
	}
}

var intervalID3 = window.setInterval(dieExitBox, 100);

Initial URL

                                

Initial Description
Useful when using a template or Wordpress and the LeadPages code is called on every page and there is a single page you don't want the fancy exit marketing signup form to appear.

The LeadBox external code has a boolean variable called 'safetyCheck' which is checked before displaying a pop-over. So long as it's FALSE it won't show.

Initial Title
Kill/Remove/Hide a LeadPages ExitBox on a single page

Initial Tags
script

Initial Language
jQuery