Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Example: Create Expandable Sections with DHTML

You can use Dynamic HTML (DHTML) to create expandable sections in your HTML files. This can be helpful when you document screen shots and other items that occupy a large amount of screen space. Expandable sections give the user more control over the display of such elements, letting them display them as needed.

There are three steps to creating expandable sections:

  1. Create the tag that will contain the contents for each section.
  2. Insert the JavaScript code.
  3. Update your style sheet to reflect the new section.

Note  You can use this example with both uncompiled HTML files and compiled help (.chm) files.

Related topics

About the Script and DHTML Examples

 

 

Send comments about this topic to Microsoft

Build date: 4/14/2012

Community Additions

ADD
Show:
© 2015 Microsoft