You are here: Links and Hot Spots > Expanding, Dropdown and Popup Text > Creating Expanding Text

Creating Expanding Text

Using the D2HML Dialog Box in Word

1.   In your source document, select the link text that the user will click to view the expanding text.

2.   Click the Inline Expand button on the D2HML Styles toolbar. The Inline Expand Link dialog box appears.

Note: Expanding text may require style formatting. Microsoft Word does not allow you to apply style formatting within expanding text because it is already formatted with the C1H Expand Text style. By default, Doc-To-Help applies expanding text as a comment rather than a D2HML style in your Word documents so that style formatting may be used within the comment. To format expanding text as a D2HML style, uncheck the Expanding Text in Comment checkbox.

3.   Enter the expanding text in the Expanding Text window and click OK. The link text is formatted with the C1HInlineExpand character style. The expanding text is formatted with a comment:  Page: 6
D2HML|C1H Expand Text.

Using Expand Text Comments in Word

1.   In your Word source document, select the link text that the user will click to view the drop-down text.

2.   Select the C1H Inline Dropdown character style from the Word styles drop-down list.

3.   Select the text, including graphics and formatted text, to be converted into expanding text.

4.   Select Insert | Comment and add the following text, which will become your comment text:

D2HML|C1H Expand Text

Your comment should look like the following image.

Using the D2HML Dialog Box in FrontPage and Dreamweaver

1.   In your source document, select the link text that the user will click to view the drop-down text.

2.   Click the Inline Expand button on the D2HML Styles toolbar. The Inline Expand Link dialog box appears.

3.   Enter the drop-down text in the Expanding Text window and click OK.

4.   The link text is formatted with the C1HInlineExpand character style. The expanding text is formatted with the C1HExpandText character style.

Note: You can add additional items, such as graphics and formatted text, to the expanding text. Once you have created the initial expanding text and closed the D2HML dialog box, simply insert the graphics and/or formatted text in your document and format it with the corresponding C1HExpandText style.

Using D2HML Styles without D2HML Dialog Boxes

You can apply D2HML styles without using D2HML dialog boxes in your Word and HTML source documents.

1.   In your source document, select the link text and apply the C1HInlineExpand character style.

2.   Select the expanding text and apply the C1HExpandText character style. If using HTML source documents, you can include graphics and formatted text in your drop-down text. Just make sure they are formatted with the C1HExpandText style. If using Word documents, you can manually create an expand text comment and include the graphics and formatted text within the comment.