To Create a Link to a Command Without Using a Button
Microsoft Corporation
Updated June 10, 1999
- Open the HTML file in which you want to have the Related Topics link, Associative link (ALink), Keyword link (KLink), Shortcut, Close window, HTML Help ActiveX control version dialog box, or WinHelp topic appear.
- Click HTML Help ActiveX Control.
- In the Specify the command box, click a command. You must enter the ID name to use for this instance of the HTML Help ActiveX control because you will use scripting to access the command.
- Click Next, and then click Hidden to specify that you will be scripting this use of the control.
- Select the appropriate display type and button options, and then add the ALink names you want to jump to.
- Add the appropriate JavaScript to the HTML file to create a text, graphic, or other link to the control.
Note
- This procedure can be used with any of the HTML Help ActiveX control commands that provide a button by default. It is useful, for example, when you want to create a Related Topics link, KLink, or ALink in an HTML file using a text link. Instead of clicking a button, the user clicks the text link.
- For more information about commands, see the HTML Help ActiveX control reference.