Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

9 Generating Microsoft HTML Help > 9.7 Creating related-topic links for HTML Help > 9.7.6 Creating buttons for other types of related-topic links


9.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:

[ParaStyleCodeReplace]

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 §9.9.8 Customizing contents and index for HTML Help for special Mif2Go settings that provide a way to specify contents and index parameters.



9 Generating Microsoft HTML Help > 9.7 Creating related-topic links for HTML Help > 9.7.6 Creating buttons for other types of related-topic links