Jumping to Secondary Windows

Jumps to topics in secondary windows are coded in much the same way as other jumps.

·To code a jump to a secondary window topic:

1.Select the text or bitmap reference you want to serve as the activation point.

2.From the Format menu, choose Character and select the Double Underline check box, then cancel the selection of the text or reference.

3.From the Format menu, choose Character again and clear the Double Underline check box, then select the Hidden check box.

4.Type the following text:

context-string[@filename]>type

Here, context-string is the context string for the topic you are jumping to, and type is the type name for the secondary window. If the jump target is in another book in the title, filename is the name of the .MVB file for that book.

In USA Tour, the State Bird buttons in Information screens jump to secondary windows. The bitmap reference for the State Bird button is coded as a secondary window jump as follows:

wa_statebird>bird

5.From the Format menu, choose Character again and clear the Hidden check box.

The following illustration shows how the coded jump looks in Word for Windows:

As with normal jumps, after you build the title, the user can identify this jump in one of two ways:

By default, the jump appears as underlined, bright green characters.

Whenever the mouse pointer moves over a hot spot, the pointer changes shape from an arrow to a pointing finger.

As an example, the State Bird button activates the jump. To make the jump, the user places the mouse pointer over the button and clicks the left mouse button.

Viewer finds and displays the topic referenced by the jump. In this case, the topic appears in a “bird” secondary window, as shown in the following illustration:

Note:

Jumps from a topic in a secondary window to a topic in the main window must always be qualified with “>main”. For example, a jump from a secondary window back to the topic “wa_main” in the main window must be coded as follows:

wa_main>main

Viewer can display only one secondary window at a time. For example, if you select a different jump to a secondary window of type “inform,” Viewer replaces the “bird” secondary window with the “inform” secondary window.