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.
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 §11.8.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 11
• Name or Location,
for secondary windows only (see Table 11
• the
base name of a window-object access keyword listed in Table 11
The content of the marker is any value you could assign to the keyword in section [JavaHelpOptions]; see §11.8.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.