'Triggers' option settings

In Popup Maker version 1.7+, the Popup Settings box combines the trigger and cookies option settings onto one tab.  This article describes the 'Triggers' option settings in the Popup Editor.  Refer to the related article below for information to set popup 'Cookie' options.

Related article: 'Cookie' option settings.


Article Contents


Definition of Terms

Triggers -- These are 'events' that cause a popup to display in the browser. A popup requires at least one trigger in order to display, and may accept multiple triggers. 

Cookies -- These control the repeated display of popups. To work, they must be set and linked to a popup trigger.  The use of cookies is optional, but often recommended. 

By default, cookies are valid for a term of 1 month, which can be changed to a different term by plugin users. Popups controlled by a cookie can redisplay before they expire if the popup cookie is cleared from the browser. 

Back to top ]


Add a New Trigger

When the button labeled 'Add New Trigger' is selected, a popup labeled 'Choose what type of trigger to add?' will appear. The Popup Editor will be covered by a dark 'overlay' layer which prevents access to the background until the new trigger is added, or the popup is closed. Plugin users have the option to close the popup without setting a trigger by selecting the 'close' button ('X') in the upper right corner.

When selecting a trigger, plugin users receive a prompt to set a cookie and link it to the trigger. Refer to the checkbox below the trigger menu labeled 'Would you like to set up a cookie as well?'. 

By default, no cookie is set when adding a trigger. If a cookie is not set when adding a new trigger, the trigger can be edited later to create and link the cookie.

Default Plugin Triggers

The free version of Popup Maker includes 2 default triggers:  

  • 'Click Open' (default) and 
  • 'Time Delay / Auto Open'. 

Both triggers may be set on the same popup.

Premium Plugin Triggers

The following paid, premium plugin extensions add triggers to Popup Settings:

Premium triggers can be used in any combination with default plugin triggers.

Premium Plugin Extensions That Override 'Popup Settings'

The following paid, premium plugin extensions override (disable) the Popup Settings box:

Back to top ]


'Click Open' Trigger Settings

When a 'Click Open' trigger is selected, a 'Click Trigger Settings' dialogue box appears with a 'General' and 'Advanced' option settings tab.

'Click Trigger Settings  -- General' option settings

Popup Maker provides users with 5 methods to set a 'Click Open' trigger. They include: 

  1. Use the 'popmake-{integer}' and/or 'popmake-{slug-name}' classes to set a trigger on a page element; 
  2. Add 'Extra CSS Selectors' to the 'Click Trigger Settings' custom field to set a trigger; 
  3. Use the Popup ID ( 'popmake-{integer}' ) on the 'href' attribute inside an <a> tag;
  4. Use an '<a href>' with jQuery; and 
  5. Write your own jQuery plugin.

Method #1 from the list above is the simplest and straight forward way to set a popup trigger on a page element. 

Extra CSS Selectors -- If unable to apply Method #1 above, Method #2 allows users to set a 'Click Open' trigger by targeting a specific CSS selector, or set of selectors. 

The custom field accepts:

  • single or multiple CSS class and id attributes (for example; .class-here, .class-2-here, #button_id), 
  • CSS selectors strung together (for example; #button_id.class-here.a ), and 
  • URL values (partial or full)

Separate multiple CSS selectors using commas (,).  The caret at the right end of the custom field provides a set of 'link' options when adding URL values. 

Related article:  Trigger: Click Open

Related article:  Getting CSS Selectors; refer to 'Method #1: Popup Maker Get CSS Selector Tool'.

Cookie Name -- Custom field to either 'Add a New Cookie' or link an existing cookie by ID to the trigger. Cookies are assigned an ID of 'pum-{integer}'.

'Click Trigger Settings  -- Advanced' option settings

By default, a popup set to a link will prevent that link from opening 'on click', and display a popup instead. Popup Maker turns the browser's 'on click' behavior to 'off'. 

An example would be a popup set to trigger on the 'Contact Us' page in a site navigation menu. When Popup Maker sets a trigger on that link, the plugin prevents the page link from opening.  The popup appears in the browser instead of the link redirecting to the page. 

Sometimes plugin users do want the browser to work as intended 'on click'. An example might be to display a popup and allow a file download to occur at the same time. 

In that case, Popup Maker needs to allow the browser to process the file download. Select the checkbox labeled 'Do not prevent the default click functionality.' to turn 'on' the browser's 'on click' action. 

Back to top ]


Time Delay Settings

When a 'Time Delay /  Auto Open' trigger is selected, a 'Time Delay Settings' dialogue box appears with a 'General' option settings tab.

Related article:  'Trigger: Auto Open / Time Delay'

'Time Delay Settings -- General' option settings

Delay -- The time delay setting in milliseconds (ms). The time delay range is set between 0 - 10,000 ms (10 seconds), with a default of 500 ms (0.5 seconds). The time range slider can be edited, and will accept any value greater than the initial default maximum. The range slider will automatically reset the time range, and display the new input value within the adjusted range.

Cookie Name --  Custom field to either 'Add a New Cookie' or link an existing cookie with ID 'pum-{integer}'. 

[   Back to top ]


Edit an Existing Trigger

Edit an existing trigger by selecting the 'pencil' icon in the column labeled 'Actions'. A 'settings' options box will display, prompting the selection of additional options. 

[   Back to top ]


Delete an Existing Trigger

Delete an existing trigger by selecting the 'X' in the column labeled 'Actions'.

[   Back to top ]