Omni Systems, Inc. Mif2Go User's Guide, Version 55

<< Prev | Next >>

> 8 Generating WinHelp > 8.9 Creating jumps and pop-ups for WinHelp > 8.9.2 Configuring pop-up topics

### 8.9.2 Configuring pop-up topics

WinHelp pop-up topics (the contents of the small window that pops up) can be created just like any other topic. Assign the following properties to the paragraph format for a pop-up topic:

[HelpStyles]

Poptopicfmt=Topic Scroll NoXScroll

Suppose your document contains material that should appear in its original location in the print version, but would work better as a pop-up in the help version. For example, you might want “tips” to be pop-ups in WinHelp, even though in the print version they appear interspersed with regular text, or perhaps as sidebars.

Suppose the paragraph format you use for tips is called Tip:

1. Create another paragraph format to immediately follow every instance of Tip; call it (for example) TipEnd.

2. Make every instance of TipEnd conditional, for use only in the help version; for example, apply condition HelpOnly.

3. Do not include any text in the TipEnd paragraphs. Instead, use the numbering properties of TipEnd to make the word Tip appear automatically.

4. In the configuration file, specify the following settings for Tip and TipAfter:

[HelpStyles]

Tip = Topic Slide Scroll NoXScroll Makeref

TipEnd = PopOver Green Resume PrevRef

If you show condition HelpOnly when you use Mif2Go to generate WinHelp, the word Tip appears green and underlined in the WinHelp output. When a user clicks Tip, the text of the tip pops up. See §8.9.11.6 Using unique references for jumps and pop-ups.

See also:

§8.8.1 Creating WinHelp topics

§8.9.5.2 Using alert or alerttitle markers for embedded pop-ups

§8.9.10 Creating a glossary pop-up: an example

§34.1.1 Using character formats to identify Help elements