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

Creating Dropdown 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 drop-down text.

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

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

4.   The link text is formatted with the C1HInlineDropdown character style. The drop-down text is formatted with a comment:  D2HML|C1H Dropdown Text.

Note: Drop-down text may require style formatting. Microsoft Word does not allow you to apply style formatting within drop-down text because it is already formatted with the C1H Dropdown Text style. By default, Doc-To-Help applies drop-down 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 drop-down text as a D2HML style, uncheck the Dropdown Text in Comment checkbox.

Using Dropdown 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 drop-down text.

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

D2HML|C1H Dropdown 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 Dropdown button on the D2HML Styles toolbar. The Inline Dropdown Link dialog box appears.

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

4.   The link text is formatted with the C1HInlineDropdown character style. The drop-down text is formatted with the C1HDropdownText character style.

Note: You can add additional items, such as graphics and formatted text, to the drop-down text. Once you have created the initial drop-down text and closed the D2HML dialog box, simply insert the graphics and/or formatted text in your document and format it with the corresponding C1HDropdownText 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 C1HInlineDropdown character style.

2.   Select the drop-down text and apply the C1HDropdownText 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 C1HDropdownText style. If using Word documents, you can manually create a drop-down text comment and include the graphics and formatted text within the comment.