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:
- Create an image map.
- Write text for pop-up windows.
- Add the image to your project (.hhp) file.
- Insert the HTML Help ActiveX control in your HTML file.
- 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.
About the script and DHTML examples | |