/ Published in: jQuery

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.
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.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function dieExitBox() { if (typeof safetyCheck !== 'undefined') { if (safetyCheck) { safetyCheck = false; window.clearInterval(intervalID3); } } } var intervalID3 = window.setInterval(dieExitBox, 100);
Comments
