Creating Popup Window Links in Word
Your first step in creating a popup window is to create a link between a word or phrase in a topic and the popup content you want to display when users hover over or click the link. Use native Microsoft Word functionality to create a link between the word or phrase in a topic and the content you want to display in a popup window. You can create a link in Microsoft Word with a bookmark and a cross-reference or hyperlink.
Before you create popup window links, verify that your output format supports this feature.
The following procedure provides an example of how to create a a popup window link in Microsoft Word source documents using Microsoft Word 2003. Steps for creating popup window links in Microsoft Word may be different in other versions of Microsoft Word.
To create a link between a word or phrase and popup content in a Microsoft Word source document
1. In your Microsoft Word source document, locate the text you want to create a link to and display in the popup window.
2. If you want to create a link that includes the link target text, create the link using a bookmark and a cross-reference by completing the following steps:
a. Select the text to which you want to link.
b. On the Insert menu, click Bookmark.
c. In the Bookmark name field, type a name for the bookmark in CamelCase. The bookmark name cannot include spaces.
For example, if you are creating a bookmark for the definition of WebWorks Help in your source document, type WebWorksHelpDefinition
.
d. Click Add. Microsoft Word inserts a hidden bookmark.
e. In your Microsoft Word source document, locate the word or phrase for which you want to create a link.
f. Using your cursor, select the text you for which you want to create a link.
For example, if you want to specify WebWorks Help as a link, select WebWorks Help.
g. On the Insert menu, click Reference > Cross-reference.
h. In the Reference type field, select Bookmark.
i. In the Insert reference to field, select Bookmark text.
j. Select the Insert as hyperlink check box.
k. In the For which bookmark field, click the name of the bookmark for the text you want to display in the popup.
For example, if you created a bookmark named WebWorksHelpDefinition for text that provides a definition for WebWorks Help, click WebWorksHelpDefinition.
l. Click Insert, and then click Close.
3. If you want to create a link that does not include the link target text, create the link using a bookmark and a hyperlink by completing the following steps:
a. Insert your cursor in front of the text to which you want to link.
b. On the Insert menu, click Bookmark.
c. In the Bookmark name field, type a name for the bookmark in CamelCase. The bookmark name cannot include spaces.
For example, if you are creating a bookmark for the definition of WebWorks Help in your source document, type WebWorksHelpDefinition
.
d. Click Add. Microsoft Word inserts a hidden bookmark.
e. In your Microsoft Word source document, locate the word or phrase for which you want to create a link.
f. Using your cursor, select the text you for which you want to create a link.
For example, if you want to specify WebWorks Help as a link, select WebWorks Help.
g. On the Insert menu, click Hyperlink.
h. In the Link to area, click Place in This Document.
i. In the Select a place in this document field, under Bookmarks, click the name of the bookmark for the text you want to display in the popup.
For example, if you created a bookmark named WebWorksHelpDefinition for text that provides a definition for WebWorks Help, click WebWorksHelpDefinition.
j. Click OK.
4. Verify that the link goes to the appropriate location in the source document by pressing and holding down the CTRL
key and then clicking the link.
5. Save your Microsoft Word source document.
After you create a link between a word or phrase in a topic and the popup content you want to display in the popup window, define the content you want to display in the popup window using one of the following methods: