Omni Systems, Inc. Mif2Go User's Guide, Version 55
> 8 Generating WinHelp > 8.9 Creating jumps and pop-ups for WinHelp > 8.9.9 Using the same content for both normal topics and pop-ups > 8.9.9.1 Using a separate file for pop-ups
To use the same content for both a normal topic and a pop-up, duplicating the text so you can edit topic and pop-up separately:
1. Create
a new FrameMaker file, for example Popups.fm
,
and include it in your book.
2. Copy
each pop-up topic section from its original FrameMaker file and paste
it in Popups.fm
.
3. If the heading format you use for these topics is (for example) Head2, assign normal topic properties to Head2 in the configuration file; for example:
4. For
the topics in Popups.fm
, change the format
name to (for example) Head2pop,
and in the configuration file assign to Head2pop
the following properties:
Head2pop=Topic Scroll NoXScroll NoTitle
This setting eliminates the no-scroll area (essential for pop-ups), and keeps the content out of full-text search, so that a search would find only the version in the original FrameMaker file. If the pop-up has more than one paragraph, do not assign properties in the configuration file to any but the first paragraph.
5. In
Popups.fm
, add a hypertext newlink marker (see §8.9.5 Using hypertext links for jumps and pop-ups)
to the start of each Head2pop, and
give each an appropriate alphanumeric identifier.
6. At the points in your document where each pop-up is to be referenced, add a hypertext gotolink marker with the proper identifier, and mark the hotspot span by applying a character format. For example, if you call the character format Popup (make sure it is in the catalog):
where Green
is normal
and recommended, but optional.
To insert newlink and gotolink markers, see §34.1.2 Using markers to add links and instructions.