Related Topics

Displays a list of target topics that a user can jump to. The Item parameter stores information about each target. The list of target topics appears on a pop-up menu or in a dialog box.

This command can be used with either a compiled help (.chm) file or uncompiled HTML files.

Syntax

<PARAM  name="Command" value="Related Topics [,menu|,dialog]">
<PARAM  name="Item1"   value="<i>Topic1;Main URL for Topic1;Alternate URL for Topic1</i>">
[<PARAM name="Button"  value="[Text: <i>Button text</i>|Bitmap: <i>Bitmap file path</i>|Icon:<i>Icon file path</i>]">]
[<PARAM name="Font"    value="<i>Facename[, point size[, charset[, color[, PLAIN BOLD ITALIC UNDERLINE]]]]</i>">]
[<PARAM name="Frame"   value="<i>Frame Name</i>">]
[<PARAM name="Text"    value="Text: <i>Link text</i>">]

Properties

Button

Specifies the button style. Optional.

Command

Calls the Related Topics command and specifies whether to display target topics on a pop-up menu or in a dialog box.

If you do not specify a display option, a dialog box appears by default.

To specify the Topics Found dialog box, type dialog.

To specify a pop-up menu, type menu.

Font

Specifies the font attributes. Optional.

Frame

Specifies the frame in which to display the selected topic. Optional.

Item1

Specifies the following information about the target topic:

  • Topic title as you want it to appear in the Topics Found dialog box or on a pop-up menu.
  • Topic file path.
  • Alternate topic to display if the first topic is unavailable.

Multiple values are delimited by a semicolon.

To specify subsequent topic information, use Item2, Item3, etc.

Text

Specifies the link text. Optional.

Example

<OBJECT
   id=candomble
   type="application/x-oleobject"
   classid="clsid:52a2aaae-085d-4187-97ea-8c30db990436"
   codebase="Hhctrl.ocx#Version=5,02,3790,1194"
   width=100
   height=100
>
   <PARAM name="Command" value="Related Topics, MENU">
   <PARAM name="Button" value="Text:See Also">
   <PARAM name="Item1" value="About Oxala;oxala.html;http://example.microsoft.com/">
   <PARAM name="Item2" value="About Yemanja;Yemanja.html;http://example.microsoft.com/">
   <PARAM name="Item3" value="About Oba;oba.html;http://example.microsoft.com/">
   <PARAM name="Item4" value="About Ogum;ogum.html;http://example.microsoft.com/">
   <PARAM name="Item5" value="Bad Link;bad_link.html;http://example.microsoft.com/">
</OBJECT>

Remarks

  • The Button parameter is omitted when this command is invoked by a script.

About Commands