#### 16.9.8 Emulating Web Works Publisher drop-down hotspots

To create expandable drop-down sections in Web Works Publisher, you map a paragraph that you want to be expandable to one of two WWP styles:

- DropDownClosed to make the hotspot closed by default
- DropDownOpen to make the hotspot open by default.

Everything following the hotspot paragraph is included in the drop-down content up to the next paragraph mapped to DropDownClosed, DropDownOpen, or one of the standard WWP heading styles. You can emulate this method using DITA2Go macros, either with or without built-in DITA2Go drop-down controls. Jim Owens has kindly allowed us to present the macros he developed for this purpose.

In this section:

§16.9.8.1 Creating drop-down hotspots with DITA2Go controls and macros

§16.9.8.2 Creating drop-down hotspots with DITA2Go macros only

Previous Topic: 16.9.7.4.4 JavaScript code when DropLinkType=Text

Next Topic: 16.9.8.1 Creating drop-down hotspots with DITA2Go controls and macros

Parent Topic: 16.9 Including expandable sections in Help topics

Sibling Topics:

16.9.1 Understanding DITA2Go expandable drop-down sections

16.9.2 Setting up expandable sections for your document

16.9.3 Delimiting expandable drop-down sections

16.9.4 Configuring drop-down links

16.9.5 Configuring drop-down blocks

16.9.6 Providing CSS for drop-down links and blocks

16.9.7 Deploying JavaScript code for drop-down sections