Adding Hot Spots to Bitmaps

To add hot spots to a bitmap, you must open the graphic in the Hotspot Editor. Then use the Hotspot Editor to define the locations and types of jumps for different regions of the bitmap. These hot spots are included in your title after you build the title.

If you used the default setup procedures, the Hotspot Editor is in the directory where you installed Viewer and its icon has been added to the program group created for Viewer.

·To code part of a bitmap as a jump:

1.Run the Hotspot Editor by double-clicking its icon or by typing the following from the Windows Run command:

shed

2.From the File menu, choose File Open to open the bitmap. If necessary, choose the Maximize button in the upper-right corner of the bitmap window to maximize the Hotspot Editor window.

3.In the bitmap you are editing, point to a corner of the region you want to format as a hot spot.

4.Drag the mouse until the rectangle surrounds the hot-spot region. Your screen should look like the screen following illustration:

5.To resize the rectangle, drag a resizing handle (one of the a black boxes on the borders of the bounding rectangle) and move the borders or corners. The pointer changes to a double-headed arrow indicating the direction in which you're resizing the rectangle.

6.Click the right mouse button while the rectangle that you just defined is selected. You can also double-click the left mouse button or choose Attributes from the Edit menu.

The Attibutes dialog box appears.

7.Select the type of hot spot you want to create from the Type list: Jump, Macro (Viewer command), Pop-up (popup window), or Searchable (search text for full-text searching).

8.In the Context String box, type the appropriate text for the hot spot.

For a jump or popup window, enter the context string for the destination jump or popup topic.

For a Viewer command, enter the command. (See Chapter 18, “Multimedia Viewer Commands,” for more information on entering Viewer commands and a complete list of commands.)

If you selected Searchable, the Search Keys box appears instead of the Context String box. Enter any terms that you want the full-text search utility to find. When you run a full-text search on any of these terms, the search utility will indicate that this bitmap matches the search query.

9.Enter a hot-spot name in the Hotspot Id box. This name helps you identify the different hot spots in the graphic if you use the Select command (described later in this section). If you don't enter a hot-spot name, the Hotspot Editor appends a number at the end of the name “Hotspot.”

10.To make the hot spot visible (outlined in bright green) in your title, select Visible from the Attribute list. A jump or macro is indicated by a solid green line, and popup is indicated by a dotted green line. If you want the hot-spot region to be invisible, select Invisible.

11.Choose OK.

12.Repeat this process for each hot-spot region that you want to define.

13.From the File menu, choose Save As to save the file with the hot spots. Use the .SHG filename extension provided by the Hotspot Editor.

The Hotspot Editor saves your graphic with the appropriate hot-spot coding. You can still include this graphic in your title using a bml, bmr, or bmc reference. The hot spots appear in the graphic after you build the title.