The coding for a standard pop-up hot spot has two parts:
nA word or phrase, formatted as underlined text (the hot-spot text), that the user chooses to display the pop-up window
nThe context string, formatted as hidden text, that identifies the pop-up topic (what the user sees in the pop-up window)
To format a word or phrase as a pop-up hot spot
1.1.Create the content of the pop-up topic.
2.2.Define a context string footnote for the pop-up topic.
For example, the following context string identifies the pop-up window topic for “Topic A”:
# ctx_string_topic_a
3.3.Go to the topic from which you want to display the pop-up window.
4.4.Select the hot spot text that will display the pop-up window.
5.5.From the Format menu, choose Character.
6.6.Select the Underline check box, and then choose OK.
7.7.Position the insertion point immediately after the last letter in the underlined hot spot text.
8.8.From the Format menu, choose Character again.
9.9.Clear the Underline check box, select the Hidden check box, and then choose OK.
10.10.Type the context string assigned to the pop-up topic.
11.11.From the Format menu, choose Character again, clear the Hidden check box, and then choose OK.
Figure 8.x shows a correctly coded pop-up hot spot in a topic file.