Click to return to the HTML Help home page    
Web Workshop  |  DHTML, HTML & CSS  |  HTML Help

Example: Create Expandable Sections with DHTML


Microsoft Corporation

Updated June 10, 1999

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.

These topics use, as samples, the source code for the sidebars in the HTML Help documentation.

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.

Notes


link to overview topic Tips and Tricks
 


Back to topBack to top

Did you find this material useful? Gripes? Compliments? Suggestions for other articles? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.