##### 20.8.1.6 Designing your own window-access marker names

To specify JavaHelp 2 window-access marker-name prefixes other than JH2Pop and JH2Sec (see §20.8.1.5 Overriding window-access properties with markers):

    [JavaHelpOptions]
    ; PopMarkerPrefix = prefix for pop-up window marker type,
    ;  default JH2Pop
    PopMarkerPrefix = JH2Pop
    ; SecMarkerPrefix = prefix for secondary window marker type
    ;  default JH2Sec
    SecMarkerPrefix = JH2Sec

Prefix required

The window-access marker names require some prefix; if you try to assign an empty prefix, DITA2Go ignores the setting and uses the default value for that prefix.

Same keyword, different prefix

To provide different window-access settings for the same files in different DITA2Go projects, you can insert two or more markers (with different contents) whose names have the same keyword suffix but different prefixes, then just specify the appropriate prefix in the configuration file to select a set of markers to use for a given project.

Correct a document-wide typo

Another possible reason for designating your own prefixes: if you make a systematic error with the marker type name, such as using JHPop* instead of JH2Pop*, you can avoid correcting the name in who knows how many DITA files, a change that cannot be accomplished with a template.

Previous Topic: 20.8.1.5 Overriding window-access properties with markers

Next Topic: 20.8.2 Specifying window parameters for Oracle Help

Parent Topic: 20.8.1 Specifying window parameters for JavaHelp 2

Sibling Topics:

20.8.1.1 Assigning default window parameters for JavaHelp 2

20.8.1.2 Mapping image names to graphics files

20.8.1.3 Understanding JavaHelp 2 window-access limitations

20.8.1.4 Specifying window-access object properties

20.8.1.5 Overriding window-access properties with markers