Omni Systems, Inc. Mif2Go User's Guide, Version 55
> 8 Generating WinHelp > 8.6 Managing graphics 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:
The results of either method are as follows:
Note: For either method to work, graphics to appear in pop-ups must have captions positioned below the graphics.
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:
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.
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:
FigAnchor=Topic Slide Scroll NoXScroll MakeRef
FigCaption=PopOver Green Resume PrevRef