You are here: Doc-To-Help Markup Language (D2HML) > Hot Spot Types > Inline Expand and Expand Text Hot Spots

Inline Expand and Expand Text Hot Spots

The Inline Expand hot spot appears as a link in the help target, and, when clicked, shows the expanding text specified in the Expand Text hot spot. These hot spots work together and cannot be used separately from one another.

Note: Inline Expand and Expand Text hot spot types are not supported in Manual, WinHelp and JavaHelp help targets.

The Behavior property of the Inline Expand hot spot type is set to Inline Expand. The following predefined styles have this Behavior, and the corresponding HTML tag or Word Style can be used when formatting without the D2HML Styles toolbar:

D2HML Style

Corresponding HTML Tag

Corresponding Word Style

C1H Inline Expand (Hidden=False)

<span class="C1HInlineExpand"> </span>

C1H Inline Expand

 

The Behavior property of the Expand Text hot spot type is set to Inline Text. The following predefined styles have this Behavior, and the corresponding HTML tag or Word Style can be used when formatting without the D2HML Styles toolbar:

D2HML Style

Corresponding HTML Tag

Corresponding Word Style

C1H Expand Text (Hidden=False)

<span class="C1HExpandText"> </span>

C1H Expand Text

 

No properties are necessary for these hot spot types.

To create an Inline Expand hot spot, select the link text and press Inline Expand  on the D2HML Styles toolbar. Enter the expanding text within the Inline Expand Link dialog box.

If you are not using the toolbar, place the link text within the corresponding HTML <span class="C1InlineExpand"> tag, and place the expanding text within the corresponding HTML <span class="C1HExpandText"> tag to format them with these D2HML styles.

The following table gives you an example of using the Inline Expand and Expand Text hot spots:

Hot Spot in Word and HTML Editor

HTML Code

Description

My Link Text My Expanding Text

<span class="C1HInlineExpand">My Text</span><span class="C1HExpandText">Expanding Text</span>

When My Link Text is clicked, My Expanding Text appears next to it.