Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

8 Generating WinHelp > 8.9 Creating jumps and pop-ups for WinHelp > 8.9.10 Creating a glossary pop-up: an example


8.9.10 Creating a glossary pop-up: an example

Suppose you want to use a glossary as a collection of pop-up topics; and suppose each glossary entry consists of a GlossTerm paragraph followed by one or more GlossDef paragraphs. You would assign the following properties to paragraph format GlossTerm:

[HelpStyles]

GlossTerm=Topic Scroll NoXScroll

Cross-reference pop-up link

In the text of another topic, to reference a given term in the glossary, you could make an instance of the term into a cross reference to that same term in the glossary; the cross-reference format would use a character format called, for example, PopText:

<PopText><$paratext></>

Hypertext pop-up link

Instead of using a cross reference, you could insert a newlink marker in the topic heading, and a corresponding gotolink marker in the hotspot; see §8.9.5 Using hypertext links for jumps and pop-ups. To insert newlink and gotolink markers, see §34.1.2 Using markers to add links and instructions.

Hotspot appearance

If you do not want the term to look different from surrounding text in your FrameMaker document, you could set all the properties of the PopText format to “As Is”. In the configuration file you would assign the following properties to character format PopText:

[HelpStyles]

PopText=PopOver

This makes any instance of PopText a hot spot, which will appear green in WinHelp. Clicking that hotspot brings up the glossary term and its definition in a pop-up window.



8 Generating WinHelp > 8.9 Creating jumps and pop-ups for WinHelp > 8.9.10 Creating a glossary pop-up: an example