Define the appropriate secondary window type in the project file.
Open the HTML file you are linking from and click HTML Help ActiveX Control.
HTML Help ActiveX Control
Opens the HTML Help ActiveX Control Wizard, which enables you to insert or edit the control in an HTML file.
In the Specify the command box, click Related Topics, and then, if you have already used the HTML Help ActiveX control in this file, enter an ID name for this instance of the control.
Click Next, and then, because you most likely do not want a button associated with the link text, click Hidden to specify that you will be scripting this use of the HTML Help ActiveX control.
Click Next, click Add, and then enter the Title and File/URL information for the topic you are linking to.
In the Window box, specify the name of the secondary window you want the topic to appear in. This name must match the name you gave the secondary window in the project file.
Click Next, and then click Finish.
Add the following JavaScript syntax to the file to create the text link:
<A HREF=JavaScript:hhctrl.Click()>link</a>
where hhctrl is the ID for the instance of the control and link is the link text.
Notes
For example, you could link to the file Apple.htm with the title "How to eat an apple" and have the topic appear in a wide window.
The link will not work until the file is compiled.