To create a hyperlink to open the pop-up window

  • Copy the following code in your HTML file to call the TextPopup method of the HTML Help ActiveX control:

    <A HREF="JavaScript:<i>popup</i>.TextPopup(<i>text_variable</i>, <i>font_variable</i>,9,9,-1,-1)"><i>Click Here</i></a> 
    

    where popup is the ID you specified in step 2, text_variable and font_variable are the variable names you specified in step 1, the numeric values are the left and right margins (9,9) and the foreground and background colors (-1, -1) of the window, and Click Here is the link text.

Notes

You do not have to create a text link to call TextPopup. You can also use a script to call it.

About the Script and DHTML Examples