Skip to main content

mbr_popup_inliner

Usage

This shortcode returns a HTML link which triggers a responsive popup window displaying the code embedded between the shortcodes opening and closing tags.

Parameters

ParametersDescription
titleSpecifies the title for the popup window.
Default: none.
Required: no.
link_textSpecifies the text to be used for the HTML link anchor text. Only applicable when the autopopup parameter is false.
Default: Click here.
Required: yes.
wSpecifies the width of the popup window. Accepts px, vw and % as a suffix. If no suffix is used px, pixels, is the default suffix.
Default: none i.e. auto adjust
Required: no.
hSpecifies the height of the popup window. Accepts px, vw and % as a suffix. If no suffix is used px, pixels, is the default suffix.
Default: none i.e. auto adjust
Required: no.
headerSpecifies whether the popup should have a header section or not. If true, the title will be displayed within the header.
Default: true
Required: no.
footerSpecifies whether the popup should have a footer section or not. If true, the close_link will be displayed within the header.
Default: true
Required: no.
autopopupSpecifies whether the popup window should automatically popup on entering the page or whether the user should click a link to display the popup.
Default: false
Required: no.
delaySpecifies the delay in seconds before which an autopopup window should display.
Default: 0
Required: no.
modalSpecifies if the popup window should open as a modal popup window.
Default: false
Required: no.
modal_reload_afterSpecifies whether the underlying page should be reloaded upon exiting a modal window. Ignored when autopopup parameter is true.
Default: true
Required: no.
close_linkSpecifies the text to be used for the popup window close link.
Default: Close
Required: no.

Validity

This shortcode is evaluated for any type of visitor.

Conditional Branching

This shortcode does NOT support conditional branching with [ELSE_popup_inliner].

Nesting

Shortcode nesting is NOT supported.

Examples

Display a popup window with the title Bonus Video in the header in a h1 tag after the user clicks the link labelled Click here to watch the video, automatically sized with content including My Header, Paragraph 1 and Paragraph 2 and also showing the close_link text in the footer:

[mbr_popup_inliner title='Bonus Video' link_text='Click here to watch the video']
My Header
Paragraph 1
Paragraph 2
[/mbr_popup_inliner]

API

info

There is currently no ActiveMember360 API function equivalent for this shortcode.