popup (Domino DTD)

Represents a formula or text pop-up hotspot.

Containment Hierarchy

Contained by: %richtext.hot.inline;

Contains: <code>, <popuptext>, %richtext.inline;

Syntax

<!ELEMENT popup ( #PCDATA | popuptext | code | %richtext.inline; )* >

Content

#PCDATA | popuptext | code | %richtext.inline;

Contains parsed character data, which makes up the text for the pop-up, or code if the text that displays in the popup is determined by a formula, or any of the contents of the %richtext.nonhot.inline; entity.

Attributes

<!ATTLIST popup

show

(%popup.show.types;)

"onmouseover"

hotspotstyle

(%popup.hotspot.styles;)

"border"

regionid

%integer;

#IMPLIED

>

show

Event that triggers the display of the pop-up; the options are defined in the %popup.show.types; entity.

hotspotstyle

Style to apply to the pop-up text; the options are defined in the %popup.hotspot.styles; entity.

regionid

Unique ID of the <region> elements associated with the pop-up construct.

Defined entities for <popup> element

The %popup.hotspot.styles; entity defines the different formatting styles that can be applied to pop-up text.

Syntax:

<!ENTITY % popup.hotspot.styles " border | highlight | none ">

border

Surrounds the text that contains the pop-up with a single-line rectangular border.

highlight

Highlights the text that contains the pop-up.

none

Does not differentiate the text that contains the pop-up from the surrounding text in any way.

The %popup.show.types; entity defines the events that trigger the pop-up display.

Syntax:

<!ENTITY % popup.show.types " onmouseover | onclick ">

onclick

Displays the pop-up text when a user clicks the pop-up hotspot.

onmouseover

Displays the pop-up text when a user runs the mouse over the pop-up hotspot.

Example