Preparing Microsoft Word Source Documents : Creating Expand/Collapse Sections (Drop-Down Hotspots) in Word
Creating Expand/Collapse Sections (Drop-Down Hotspots) in Word
You can create sections of content that expand and collapse when you click a link or hot spot. This structure allows you to create items, such as tasks with numbered procedures, bulleted lists, or definitions, that are easy to scan. Users can then expand individual items to display additional information.
Hot spots for expand/collapse sections initially display in one of the following states:
*The content is initially collapsed and will expand beneath the hotspot when the user clicks the hotspot. Clicking the hotspot a second time causes the expanded content to return to its original collapsed state.
*The content is initially expanded and will collapse or disappear from beneath the hotspot when the user clicks the hotspot.
You create expand/collapse sections in Microsoft Word source documents by using the following items:
*An Expand/Collapse paragraph style
*A DropDownEnd marker
You use an Expand/Collapse paragraph style to start expand/collapse sections and a DropDownEnd marker to specify where the content in the expand/collapse section ends. The Stationery defines whether the sections should initially be expanded (shown) or collapsed (hidden) and the image used to show the state of the section.
To create expand/collapse sections, your Stationery and template must have the following items configured:
*An Expand/Collapse paragraph style
*A DropDownEnd marker
Your output format must also support this feature. For more information about output formats that support this feature, see “Features Available in Each Output Format”.
The following procedure provides an example of how to create expand/collapse sections in Microsoft Word source documents using Microsoft Word 2003. Steps for creating expand/collapse sections in Microsoft Word may be different in other versions of Microsoft Word.
To create an expand/collapse section in a Microsoft Word source document
1. In your Microsoft Word source document, identify a topic that contains text for which you want to create an expand/collapse section.
2. Apply an Expand/Collapse paragraph style to the text you want users to click to expand or collapse content.
For example, in the following sample procedure, you would apply the Expand/Collapse paragraph style to the To open a project text.
To open a project
a. On the File menu, click Open.
b. Browse to the location of the project on your local computer.
c. Select the project, and then click Open.
3. Insert your cursor at the end of the content you want to display in the expand/collapse section.
For example, in the following sample procedure, you would insert your cursor after the period in the last sentence of the procedure, Select the project, and then click Open.
To open a project
a. On the File menu, click Open.
b. Browse to the location of the project on your local computer.
c. Select the project, and then click Open.
4. On the WebWorks menu, click Markers.
5. In the Markers field, select the DropDownEnd marker.
6. Leave the Value field blank.
7. Click OK. ePublisher inserts a DropDownEnd marker at your insertion point. This marker identifies where the contents of your expand/collapse section will end.
8. Save your Microsoft Word source document.
9. Generate output for your project. For more information, see “Generating Output”.
10. In Output Explorer, go to the page where you created the expand/collapse section and verify that ePublisher created the expand/collapse section and that the expand/collapse section displays the content you specified. For more information, see “Viewing Output in Output Explorer”.