The information in this article applies to:
SYMPTOMSWhen you open a pop-up window using the HTML Help ActiveX control (HHCtrl.ocx), the following error message appears in Internet Explorer 4.0:
CAUSEThis occurs when multiple instances of the HTML Help control are embedded on a Web page. When these controls use the same ID, Internet Explorer generates this error. RESOLUTIONTo fix this problem, identify the HTML Help object that the pop-up window uses and change the object's ID to a unique name. See the MORE INFORMATION section of this article for an example. STATUSThis behavior is by design. MORE INFORMATIONYou can use the following HTML code to embed the HTML Help control on a Web page. It also creates a hyperlink that calls the TextPopup() method of the control to display a pop-up window:
NOTE: The ID of this HTML Help object is "hhctrl." The error occurs
when there are other HTML Help objects in the same file that share that ID.
In this example, you need to change the ID in two places. The <OBJECT> tag's ID parameter should be changed from "hhctrl" to a unique identifier name. This name is also used in the <HREF> tag to invoke the TextPopup method. The following code illustrates how to change the previous HTML code to use the identifier "hhcustom":
REFERENCESThe HTML Help Web site: http://www.msdn.microsoft.com/workshopFor more information about pop-up windows, see the following documentation: HTML Help Workshop Online Help: Using HTML Help Workshop; Create Help Windows; "Creating a pop-up window" Additional query words:
Keywords : kbSDKPlatform kbHTMLHelp100 kbHTMLHelp110 kbGrpDSTools kbHTMLHelp121 kbHTMLHelp130 |
Last Reviewed: December 9, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |