You are here: Doc-To-Help Markup Language (D2HML) > Hot Spot Types > Context ID Hot Spot

Context ID Hot Spot

The Context ID hot spot assigns a context ID to the topic containing this hot spot. This allows the topic to be used in context-sensitive help. For additional information on context ID numbers and context-sensitive help, please see Context Sensitive Help.

The Behavior property of this hot spot type is set to Context ID. 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 Context ID (Hidden=False)

<span class="C1HContextID"></span>

C1H Context ID

 

The following properties are supported by this hot spot type:

Supported Properties:

Description

ContextID

ContextID value assigned to the topic containing this hot spot. The characteristics of this property are:

      Primary

      Default

      Collection

      Numeric

To create a Context ID hot spot, select the link text and secondary part, if it exists, and press Context ID  on the D2HML Styles toolbar. Use the ContextID dialog box to specify the properties of the link.

ContextID Dialog Box

If you are not using the toolbar, place the link text and secondary part in the corresponding HTML <Span> tag to format it with the D2HML style.

The following table gives you some examples of using the Context ID hot spot:

Hot Spot in Word and HTML Editor

HTML Code

Description

12

<span class="C1HContextID">12</span>

The ContextID of the topic containing this hot spot is set to 12.

|=11+14+16

<span class="C1HContextID">11+14+16</span>

The ContextIDs of the topic containing this hot spot are set to 11, 14 and 16.

Text|contextid=3+6|contextid=3+6

<span class="C1HContextID">Text|contextid=3+6</span>

The ContextIDs of the topic containing this hot spot are set to 3 and 6.

Text|=3+6

<span class="C1HContextID">Text|=3+6</span>

The ContextIDs of the topic containing this hot spot are set to 3 and 6.