i4w_inline_popup
Usage
This shortcode returns an HTML link which triggers a popup window displaying the code embedded between its opening and closing tags.
Using the correct parameter, it can also trigger the popup window without clicking on the link.
[ELSE_inline_popup] conditional branching is NOT supported.
Shortcode nesting is NOT supported.
Parameters
| Parameter | Description | Default | Required |
|---|---|---|---|
| title | Sets the title of the popup window. | None | No |
| delay | Specifies the delay in seconds before which an auto popup window should activate. | None | No |
| linktext | Set the text to appear in the anchor link (can be HTML). | None | Yes |
| w | Sets the width of the popup window. | 500 | No |
| h | Sets the height of the popup window. | 400 | No |
| autopop | Defines whether the popup window should automatically popup on entering the page or whether the user should click first. | false | No |
| modal | Defines whether the popup window should be opened as a modal window or not. | false | No |
| closelink | Defines the label to be used for the "close" link. | Close | No |
| modalreloadafter | Defines whether the underlying page should be reloaded upon exiting the modal popup. This option is automatically set to false with autopopup windows. | true | No |
Example
Shortcode
[i4w_inline_popup title='My Window Title' linktext='Click here to watch the video' w='800' h='500']
<h1>My Header</h1>
<p>Paragraph 1</p>
<p>Paragraph 2</p>
[/i4w_inline_popup]
Shortcode
[i4w_inline_popup title='My Window Title' linktext='<img src="http://domain.com/images/mybutton.jpg" />' w='800' h='500']
<h1>My Header</h1>
<p>Paragraph 1</p>
<p>Paragraph 2</p>
[/i4w_inline_popup]
Shortcode
[i4w_inline_popup delay='12' title='My Window Title' linktext='<img src="http://domain.com/images/mybutton.jpg" />' w='800' h='500']
<h1>[i4w_db_firstname]</h1>
<p>[i4w_custom_shortcode]</p>
<p>Paragraph 2</p>
[/i4w_inline_popup]