actionhotspot (Domino DTD)

Represents an Action Hotspot. This element should contain a code element that contains the simple action, formula, LotusScript, or JavaScript code to execute when a user clicks the action hotspot. It should also contain richtext, which is the text that a user clicks to trigger the action.

Containment Hierarchy

Contained by: %richtext.hot.inline;

Contains: <code>, %richtext.inline;

Syntax

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

Content

#PCDATA | code | %richtext.inline;

Contains parsed character data(the highlighted text that makes up the hotspot or label text that displays on the button), code that determines the action to perform, or the text that triggers the action.

Attributes

<!ATTLIST actionhotspot

hotspotstyle

(%action.hotspot.styles;)

"border"

targetframe

%string;

#IMPLIED

name

CDATA

#IMPLIED

regionid

%integer;

#IMPLIED

%html.core.attrs;

>

hotspotstyle

Identifies the style applied to the clickable area of the action hotspot. Can be any of the options defined in the %action.hotspot.styles;

name

HTML ID attribute used to reference the action in JavaScript or CSS.

regionid

Unique ID representing the <region> element associated with the hotspot construct.

targetframe

Name of the frame you want the action results to display in when a user clicks the action hotspot.

Defined entity for <actionhotspot> element

The %action.hotspot.styles; entity defines the style of the clickable rich text area of the action hotspot.

Syntax:

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

border

Adds a single line border around the action hotspot to identify the text as hot.

none

Adds no border or other visible indicator that the hotspot exists. The user knows that the text is hot because the cursor changes to a pointing hand when the mouse passes over it.

Example