PRB: HTML Help Images Loaded in JavaScript Do Not Appear in CHM (214807)



The information in this article applies to:

  • Microsoft HTML Help 1.3
  • Microsoft HTML Help 1.2
  • Microsoft HTML Help 1.21

This article was previously published under Q214807

SYMPTOMS

When images are loaded in JavaScript, they do not appear in the .chm file. The images do not appear when the .htm file is displayed using Internet Explorer.

CAUSE

The HTML Help control, hhctrl.ocx, cannot find the images.

RESOLUTION

Add the image files to the [FILES] section of the HTML Help project file.

The following is an example:

[FILES]
topic1.htm
topic2.htm
image1.jpg
image2.jpg

STATUS

This behavior is by design.

Modification Type:MajorLast Reviewed:4/11/2001
Keywords:kbCompiler kbprb KB214807