Example: Add text pop-ups to 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


link to overview topic About the script and DHTML examples