#### 19.7.2 Choosing whether to use expanding contents or index

By default, OmniHelp includes an expanding table of contents and an expanding index:

- Click the “+” icon in front of an entry to display subentries; the icon changes to “-”.
- Click the “-” icon to make the subentries disappear; the icon changes back to a “+”.

To collapse lower-level entries so you can browse to other topics via the contents, click the current top topic entry first, then click the “-” icon.

The table of contents always shows you where you are in the topics. While subentries are displayed, you cannot collapse the parent entry unless you first select the parent (or a another entry that is not connected to the subentries); in other words, you cannot close the door while your foot is in it. Click the parent entry first, then collapse the subentries. Otherwise, you would risk losing your place, which is what happens in HTML Help.

You can turn off the expansion feature, so that contents or index entries display fully expanded at all times. Also, some older browsers (for example, Netscape Navigator 4.x) cannot display expanding contents or index, so you would not see the expansion feature even with the default settings.

Omit contents expansion

To omit expanding display of contents subentries, and always display all levels:

    [OmniHelpOptions]
    ; TocExpand = Yes (default) or No (do not use expanding TOC)
    TocExpand=No

Omit index expansion

To omit expanding display of index subentries, and always display all levels:

    [OmniHelpOptions]
    ; IdxExpand = Yes (default) or No (do not use expanding Index)
    IdxExpand=No

Previous Topic: 19.7.1 Understanding OmniHelp contents and index creation

Next Topic: 19.7.3 Choosing how far to expand contents and index subentries

Parent Topic: 19.7 Configuring contents and index for OmniHelp

Sibling Topics:

19.7.1 Understanding OmniHelp contents and index creation

19.7.3 Choosing how far to expand contents and index subentries

19.7.4 Providing alternate expansion icons for contents or index

19.7.5 Excluding Open All and Close All buttons

19.7.6 Redirecting See and See also index entries

Table of Contents • Index