18.7.6 Creating buttons for other types of related-topic links

For related-topic links other than ALinks, you would have to add to an <object> macro an "ItemN" for each type. The following example includes just one:

[StyleCodeReplace]
ALinkUse=<$RelLinkButton>
[RelLinkButton]
<object id="hhctrl" type="application/x-oleobject"
 classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11"
 width="100" height="100">
  <param name="Command" value="Related Topics">
  <param name="Button" value="Text:Related">
  <param name="Item1" value="testing2;reference.htm">
</object>

This is not a good idea, because if the file name changes as a result of a split, you would have to remember to edit the macro by hand; though if you use the macro only to navigate to the start of fixed files, this would not be an issue.

You would have to edit the [RelLinkButton] macro to suit your own purposes. See the Microsoft HTML Help on-line documentation, under commands for the ActiveX control, for information about the many parameters you can use. Also see §18.9.7 Customizing contents and index for HTML Help for special DITA2Go settings that provide a way to specify contents and index parameters.

Previous Topic:  18.7.5.5 Including multiple ALink keywords in a paragraph or marker

Next Topic:  18.8 Using secondary windows in HTML Help

Parent Topic:  18.7 Creating related-topic links for HTML Help

Sibling Topics:

18.7.1 Adding ALink keywords for HTML Help

18.7.2 Adding ALink and KLink jumps for HTML Help

18.7.3 Configuring ALink and KLink jumps for HTML Help

18.7.4 Rolling your own macros for ALink jumps in HTML Help

18.7.5 Using the same format for ALink keywords and jumps