Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

8 Generating WinHelp > 8.6 Managing graphics for WinHelp > 8.6.4 Displaying graphics in pop-ups for WinHelp


8.6.4 Displaying graphics in pop-ups for WinHelp

Suppose you want one or more of the illustrations in your document to appear only in pop-ups, instead of in line with the text; and suppose you want the illustrations to appear only when a user clicks the figure caption. Mif2Go provides two ways to accomplish this:

Insert hypertext markers in the anchor and caption paragraphs.

Assign additional format properties to the anchor and caption paragraphs.

The results of either method are as follows:

The caption becomes a hotspot.

The illustration appears in a pop-up window, and is displayed only when the caption is clicked.

Note:  For either method to work, graphics to appear in pop-ups must have captions positioned below the graphics.

Using hypertext markers

To use hypertext markers for pop-up graphics (see §8.9.5 Using hypertext links for jumps and pop-ups):

1. Embed a hypertext newlink marker with a unique name in the paragraph that holds the anchor for the graphic.

2. Embed a corresponding hypertext gotolink marker in the caption paragraph for the graphic.

3. In the configuration file, set the following:

[HelpStyles]

FigAnchor=Topic Slide Scroll NoXScroll

FigCaption=PopOver Green Resume

For this to work, every graphic must have a caption paragraph after the graphic, or at least some distinct paragraph format immediately following the graphic that can be assigned property Resume. Otherwise, the rest of the topic also appears in the pop-up.

Using format properties

To use format properties for pop-up graphics (see §8.9.11.6 Using unique references for jumps and pop-ups):

1. Assign property MakeRef to the paragraph format that anchors the graphic.

2. Assign property PrevRef to the caption paragraph, which must follow the graphic.

Configuration settings are as follows:

[HelpStyles]

FigAnchor=Topic Slide Scroll NoXScroll MakeRef

FigCaption=PopOver Green Resume PrevRef



8 Generating WinHelp > 8.6 Managing graphics for WinHelp > 8.6.4 Displaying graphics in pop-ups for WinHelp