Preparing DITA Source Documents : Creating Popups in DITA Source Documents : Understanding Popups
 
Understanding Popups
A popup window is a window that is smaller than standard windows and typically does not contain some of the standard window features such as tool bars or status bars. Popup windows display when users hover over or click on a link. The popup topic closes automatically as soon as the users clicks somewhere else.
A typical use of popups is to display glossary terms. For example, in a printed document, terms and definitions are typically grouped in a separate glossary document. However, in a help system, you can display glossary definitions in popups. When you create glossary popups, users can choose whether they want to view the definition of an unfamiliar term. If they want additional information about the term, they can view the definition in a click.
You create popups by creating link between the word or phrase in a topic and the content you want to display in the popup, and then you use <othermeta> elements or paragraph styles to create popups.
Popup and Popup Append paragraph styles
Specifies that content displays both in popup windows and in standard help topics. You apply the Popup paragraph style to the first paragraph of content you want displayed in the popup window. If you have more than one paragraph of content you want to display, you apply the Popup Append style to the additional paragraphs.
For example, if you apply a glossary term and glossary definitions style for a glossary using the Popup and Popup Append styles, the terms and definitions in your output display in both a popup window and in a glossary topic that contains the definitions.
Popup Only and Popup Only Append paragraph styles
Specifies that content displays only in popup windows. You apply the Popup Only paragraph style to the first paragraph of content you want displayed in the popup window. If you have more than one paragraph of content you want to display, you apply the Popup Only Append style to the additional paragraphs.
For example, if you apply a glossary term and glossary definition style for a glossary using the Popup Only and Popup Only Append paragraph style, the terms and definitions in your output display in only popup windows. The content is not displayed in an additional glossary topic that contains the definitions.