##### 14.7.3.1 Choosing the type of index to generate for HTML

To specify the type of index to generate for HTML or XHTML output:

    [Index]
    ; IndexNavType = HTML (default, plain HTML, uses idxhtm.css),
    ; CSS (pure CSS, uses idxcss.css), or JavaScript (uses idxjs.*)
    IndexNavType = HTML

DITA2Go gathers all the index terms from your document into one of three types of multi-level index, depending on the value of IndexNavType:

IndexNavType | CSS file | Default effect
    HTML
    idxhtm.css
| All entries visible initially; optional heading letters across the top of the page, with links
    CSS
    idxcss.css
| Only heading letters visible initially, arrayed vertically on the left; mouseover reveals next level down
    JavaScript
    idxjs.css
| Only index letters visible initially, arrayed vertically on the left; click reveals next level down

DITA2Go accesses the required CSS (and JavaScript, if IndexNavType=JavaScript) from %OMSYSHOME%\common\local\htmlidx or, if the files are not there, from %OMSYSHOME%\common\system\htmlidx.

You can copy the CSS and JavaScript files from \system\htmlidx to \local\htmlidx and edit them there, to customize index appearance for your HTML output. Do not change the names of these files, and do not edit the files in %OMSYSHOME%\common\system\htmlidx.

Previous Topic: 14.7.3 Configuring index features for HTML output

Next Topic: 14.7.3.2 Specifying index file name and heading

Parent Topic: 14.7.3 Configuring index features for HTML output

Sibling Topics:

14.7.3.2 Specifying index file name and heading

14.7.3.3 Specifying CSS classes for index components

14.7.3.4 Including heading letters in the index

14.7.3.5 Customizing and linking to the index file