Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

To create a link to a command without using a button

  1. 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.
  2. Click HTML Help ActiveX Control.
    ms644584.sb_wiz(en-us,VS.85).gif

    Opens the HTML Help ActiveX Control Wizard, which enables you to insert or edit the control in an HTML file.

     

  3. 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.
  4. Click Next, and then click Hidden to specify that you will be scripting this use of the control.
  5. Select the appropriate display type and button options, and then add the ALink names you want to jump to.
  6. 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.

Related topics

About Working with Links

 

 

Send comments about this topic to Microsoft

Build date: 4/14/2012

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.