10.7.1.5 Overriding window-access properties with markers
To change a JavaHelp 2 object property for a specific link that accesses a pop-up or secondary window, you can insert a special marker somewhere in your document before the link you want to tweak; see §28.2 Adding custom marker types.
The name of the marker is the keyword for the property to be tweaked, prefixed by JH2Pop for a pop-up window or JH2Sec for a secondary window, or by a prefix you specify; see §10.7.1.6 Designing your own window-access marker names. The keyword part of the marker name can be any of the following:
• Size (see Table 10-2); for example, JH2PopSize or JH2SecSize
• Name or Location, for secondary windows only (see Table 10-2): JH2SecName, JH2SecLocation
• the base name of a window-object access keyword listed in Table 10-3; for example, JH2PopText or JH2SecGraphic.
The content of the marker is any value you could assign to the keyword in section [JavaHelpOptions]; see §10.7.1.4 Specifying window-access object properties. The marker content overrides the corresponding keyword setting, but only for the next pop-up or secondary window link in the file.
Resize individual pop-up windows
Use JH2PopSize markers to resize pop-up windows in JavaHelp 2 (something Oracle Help for Java does for you). For example, to specify the dimensions of one particular pop-up window, you could place a marker of type JH2PopSize with content 300,75 somewhere before the pop-up hotspot, for a 300-pixel-wide and 75-pixel-high pop-up window, such as this.
> 10 Generating JavaHelp or Oracle Help > 10.7 Defining windows for JavaHelp or Oracle Help > 10.7.1 Specifying window parameters for JavaHelp 2 > 10.7.1.5 Overriding window-access properties with markers
