Omni Systems, Inc.

  

Mif2Go User's Guide, Version 55

  

Valid HTML 4.01!

 

Made with Mif2Go

11 Generating JavaHelp or Oracle Help > 11.8 Defining windows for JavaHelp or Oracle Help > 11.8.1 Specifying window parameters for JavaHelp 2 > 11.8.1.5 Overriding window-access properties with markers


11.8.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.

Marker name

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-2); for example, JH2PopSize or JH2SecSize

Name or Location, for secondary windows only (see Table 11-2): JH2SecName, JH2SecLocation

the base name of a window-object access keyword listed in Table 11-3; for example, JH2PopText or JH2SecGraphic.

Marker content

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.



11 Generating JavaHelp or Oracle Help > 11.8 Defining windows for JavaHelp or Oracle Help > 11.8.1 Specifying window parameters for JavaHelp 2 > 11.8.1.5 Overriding window-access properties with markers