37.9.6 Implementing drop-down text with macros

The following sections of the DITA2Go User's Guide present examples of macros that incorporate JavaScript to dynamically expand and collapse areas of text:

§16.9.7 Deploying JavaScript code for drop-down sections

§16.9.8 Emulating Web Works Publisher drop-down hotspots

You can modify these macros for your own purposes.

Previous Topic:  37.9.5 Using HTML Macro PI markers to invoke macros

Next Topic:  37.10 Using macros to fine-tune HTML or XML output

Parent Topic:  37.9 Deploying macros and macro variables

Sibling Topics:

37.9.1 Understanding where to use macros and macro variables

37.9.2 Invoking macros at predetermined points in output

37.9.3 Surrounding or replacing text with code or macros

37.9.4 Assigning macros to graphics or tables for HTML

37.9.5 Using HTML Macro PI markers to invoke macros