Pop-up Dialog

The Pop-up Dialog macro is an excellent tool for adding extra information to your page. You can add a trigger to your page, which activates a popup box with your content. You can embed other macros, like the button macro inside the Pop-Up Dialog. This can be a valuable way to direct users to the most relevant content.

Add a Pop-up Dialog macro to your page

  1. Navigate to the page you want to edit.
  2. Click the Edit icon.
  3. Click InsertView More.
  4. Select the Pop-up Dialog macro in the Browse screen.
  5. Complete the Pop-up Dialog Title field. eg. More Information Here.

  6. Select a width for the dialog box from the Pop-up Dialog Width drop-down menu.
  7. Select the Add Pop-up Trigger button.

  8. To edit the appearance of the trigger, select the edit icon.
  9. Complete the Trigger Text Field with what you want the button to say. eg. Click for More Information.
  10. Choose the alignment of the trigger button. 
  11. Select Save.
  12. In the main macro editor, select Save.
  13. A macro placeholder appears on your page. Insert the content you want to show in your Pop-up Dialog inside this macro.
  14. Publish the page
  15. The trigger button now appears in place of the macro placeholder.

Example

In this example, the dialog macro has two Button macros inside it. One has a link to an external webpage, and the other points to an anchor on the same page. You can use Pop-Up Dialogs in this manner to create simple decision trees.

Put Other Macros Inside

It is possible to put other macros inside this one. Some larger or more complex macros may not work, or work differently than expected. 

When trying to figure out which marcos can be put inside others there it helps to identify the type of macro you are working with. There are two general types of macro:-

Rich Body Macros -There are macros that you can type in on the Confluence Edit page

Simple Macros - These are macros that you can not add anything to on the edit page, you can only affect them by opening them in the editor.

Typically Rich Body Macros, do not work as expected, or at all when put inside other Rich Body Macros.

Most, but not all Simple macros can be put inside a Rich Body Macro, and often work as expected.

See below for more information on what happens when you put various macros inside this macro.

MacroWorks As NormalNotes
Alert Macro

The alert will display each time that the macro holding it is opened.
Button Macro


Button Group

This type of macro will not fit inside another macro.
BibTeX Reference Macro

References within tabs will only display in a Summary Macro in the same tab.
BibTeX Summary Macro

The Summary Macro will only list BibTeX references within the same tab.

Card Macro


Footnote Macro

Footnotes within tabs will only display in a Summary Macro in the same tab.
Footnote Summary Macro

The Summary Macro will only list Footnote references within the same tab.
LaTeX Macro


Progress Bar Macro

Works as long as there is only one progress bar on a page. If there are multiple nested progress bars on a single page it can cause a failure. 
Round Rectangle Macro

This type of macro will not fit inside another macro.
Tabs Macro

This type of macro will not fit inside another macro.
Tooltip Macro


MacroWorks As NormalNotes
Action Item

You can add the macro, but it doesn't keep it's status while in the tab.
Attachments

This macro displays the attachements on the page. However the drag and drop upload function does not work. 
Blog Posts


Bullet List


Code Snippet


Contributors


Contributors Summary


Chart

This type of macro will not fit inside another macro.
Change History


Children Display


Content by Label


Content Report Table


Create From Template


Date


Decision


Decision Report


Emojis


Error Panel


Excerpt

This type of macro will not fit inside another macro.
Excerpt Include



Expand

If you wish to use this macro you can put it in the cell of a table, inside the macro.
Files and Images


Gallery


Iframes


Include Page


Info Panel


Jira Charts


Jira Issues


Jira Legacy


Jira Roadmap

Only displays a link.
Layouts

This type of macro will not fit inside another macro.
Labels List


Link


Mention


Note Panel


Numbered List


Opsgenie Incident Timeline


Page Index


Page Properties

This type of macro will not fit inside another macro.
Page Properties Report

This macro works as normal except when the table contains any other macros. 
Page Tree


Page Tree Search


Popular Labels


Profile Picture


Related Labels


Recently Updated 


Recently Updated Dashboard


Roadmap Planner

The roadmap displays, but the links do not display when you hover over the bars. 
Shared Links Bookmark


Spaces List


Status


Success Panel


Table 


Table of Contents


Table of Content Zone

This type of macro will not fit inside another macro.
Task Report

If you have enough tasks to result in multiple pages of tasks, you may not be able to scroll through the pages. 
Team Calendars


Trello Card


Trello Board

Although the board will display in edit mode, it does not display in view mode. 
User Profile


Warning Panel


Widget Connector


Video Walkthrough

Watch our video walkthrough to see the Pop-up Dialog macro in action.



Related Macros


On this page