Example: Annotate an Image

You can add pop-up help topics to an image by using an image map in conjunction with the HTML Help ActiveX control. This lets you associate a pop-up window with each region of an image. When a user clicks an area of the image, a pop-up window will display the topic that goes with that area. This example is based on the TextPopup method.

The steps of the process are as follows:

  1. Create an image map.
  2. Write text for pop-up windows.
  3. Add the image to your project (.hhp) file.
  4. Insert the HTML Help ActiveX control in your HTML file.
  5. Add hyperlinks to each region of the image map.
Note  You can use this example with both uncompiled HTML files and compiled help (.chm) files.
 

Related topics

About the Script and DHTML Examples

 

 

Show: