Success view

#om-{{id}}-success button.{{ns}}-CloseButton { /* Your Custom Styles */ }

focus outline none

div#om-{{id}} *:focus { outline: none; }

form autofocus

document.addEventListener('om.Form.autofocus', function(event) { let omForm = event.detail.Form; omForm.autofocus = false; }

listeners convert

om{{id}}.Listeners.convert();

change view yes/no

om{{id}}.changeView('yesno');

change view optin

om{{id}}.changeView('optin');

change view success

om{{id}}.changeView('success');

start Close

om{{id}}.startClose();

om-wp-plugin-load-in-head.php

// returning false will change the default location from footer to the head add_filter( 'optin_monster_api_loading_location', '__return_false'…

om-disable-preload.js

document.addEventListener('om.Campaign.init.preload', function(event) { event.detail.Campaign.settings.preload = false; });

om-disable-preload-specific-campaigns.js

document.addEventListener('om.Campaign.init.preload', function(event) { var campaign = event.detail.Campaign; // replace {id} with the unique ID of your…

1 104 105 106 107 108