Share via


Using HTML Help Features from a Custom Frameset

Framesets are a way of specifying multiple independent regions, called frames, within a browser window. Each frame in a frameset displays a separate HTML document. You can have frames that scroll and resize, depending on how you author the frameset. You assign each frame a name, so that links from one frame can jump to another frame.

After you have created a frameset, you add the HTML Help ActiveX control or the HTML Help Jscript applet (discussed in the following section) to the frames that you want to have HTML Help functionality. For example, one frame can use the HTML Help ActiveX control to display a table of contents that, when clicked, displays an HTML page or Office document in an adjoining frame.

You can use the HTML Help ActiveX control to add the following functionality to HTML pages displayed in your frameset:

  • A table of contents
  • An index
  • Related topic links
  • A splash screen
  • Pop-up windows that display simple text strings without formatting

The following figure shows an example of a frameset in which the HTML Help ActiveX control is used to display a contents or an index pane in the left frame.

A Frameset Authored by Using the HTML Help ActiveX Control

You can author the HTML files that make up the topics for an HTML Help frameset in whatever editor you choose, but to insert the HTML Help ActiveX control in your pages, it is recommended that you use the HTML Help Control command on the Tags menu of HTML Help Workshop.

You should author the files used to create the table of contents (.hhc) and index (.hhk) in HTML Help Workshop, but when you understand their format, you can update and modify them by using a text editor. The .hhc and .hhk files themselves (not a compiled HTML Help file that contains compiled versions of them) must be copied to your Web site in order to support a table of contents and index. Unlike a compiled index, an HTML Help index file used on a Web site can't merge keywords from other indexes or use keyword links (KLinks).

See Also

Using HTML Help to Author a Web Site | Working with the HTML Help Jscript Applet | Using a URL to Open a Page in a Compiled HTML Help File | Working with the HTML Help ActiveX Control