Omni Systems, Inc.

  

Mif2Go User's Guide, Version 33u53

  

Valid HTML 4.01!

 

Made with Mif2Go

8 Generating Microsoft HTML Help > 8.6 Creating related-topic links for HTML Help > 8.6.6 Creating buttons for other types of related-topic links


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



8 Generating Microsoft HTML Help > 8.6 Creating related-topic links for HTML Help > 8.6.6 Creating buttons for other types of related-topic links