Omni Systems, Inc. Mif2Go User's Guide, Version 55

<< Prev | Next >>

> 10 Generating OmniHelp > 10.5 Customizing OmniHelp display features > 10.5.2 Altering OmniHelp top navigation frame content

### 10.5.2 Altering OmniHelp top navigation frame content

You can use configuration settings to provide HTML or XHTML code for the content of the leftmost and rightmost table cells in the top OmniHelp navigation frame.

The leftmost cell is the same width as the navigation pane below it. Just make sure that whatever you specify for this cell fits in the space above the left navigation pane; bad things happen to the button layout when the buttons do not have enough space.

Note: If you set TopFirst=No (see §10.5.1 Configuring OmniHelp window usage and frameset dimensions), the leftmost cell is not displayed. The rightmost cell is always displayed.

The (X)HTML code you specify for each of these table cells must be all on one line, and must end with a backslash (\). Escape any single quotes in the code by preceding each with a backslash (\’). Do not follow the code line with more than one blank line.

For example, to substitute your own logo for the Omni Systems logo:

[OHTopLeftNav]

; optional (X)HTML content for ohtop nav table left cell

<img src="mylogo.jpg" alt="Logo" height="25" width="50" />\

Or to substitute contact information for the W3C validation button:

[OHTopRightNav]

; optional (X)HTML content for ohtop nav table right cell

<img src="telnos.gif" alt="Phone/Fax" height="25" width="71" />\

To alter other parts of the top navigation frame, you would have to modify JavaScript code in viewer file ohtop.js; see §10.1 Understanding how OmniHelp works.