# The Icons Directory

There are several general-purpose icons that can appear in the HTML pages generated by ImajSite. When an icon is needed, ImajSite searches for a subdirectory named "icons". If the "icons" subdirectory is not found in the current directory, ImajSite searches for the subdirectory in each of the parent directories, starting at the immediate parent and working toward the root directory. Once the "icons" directory is found, the icon is obtained from that directory.

In addition to icons, the icons directory also contains other shared files. The following items may be contained in the icons directory:

1. Shared HTML files
2. Graphics used in generated HTML files
3. Graphics used by controls.htm
4. Keyword icons
5. Index Template files

A complete icons directory is supplied in the ImajSite distribution package. This directory can be simply copied to the desired directory as needed.

ImajSite looks for the icons directory in the following places (in order):

1. `./icons`
2. `../icons`
3. `../../icons`
4. ...

All generated links to files in the icons directory are relative links.

### Shared HTML files

`content.htm` | Dynamically generated index in `index=searchable` mode.
`controls.htm` | Control panel frame that appears to the left of the image display area when viewing slides in `slides=frameset` mode or `slides=window` mode.
`search.htm` | Frame that allows entry of search criteria in `index=searchable` mode.
`slides.htm` | Frameset used to display slides in `slides=window` mode.
`index.js` | Shared JavaScript code used by index files. This code determines the size, position, and attributes of any new windows that are opened, and may be modified to customize these window parameters. Frame that allows entry of search criteria in `index=searchable` mode.

### Graphics used in generated HTML files

`back.gif` | Back button displayed at the top of index files. This button is used to return to the parent or referring index. If this file is missing, the file "home.gif" will be used instead.
`close.gif` | Close button displayed at the top of index files. This button is used to close the current window. If this file is missing, the file "home.gif" will be used instead.
`home.gif` | Stop button displayed at the top of slide files in `slides=html` mode or `slides=simple` mode. This button is used to return to the index or the first slide.
`prev.gif` | Previous slide button (enabled)
`noprev.gif` | Previous slide button (disabled)
`next.gif` | Next slide button (enabled)
`nonext.gif` | Next slide button (disabled)

### Graphics used by controls.htm

`chome.gif` | Home button
`cprev.gif` | Previous slide button (enabled)
`cnoprev.gif` | Previous slide button (disabled)
`cnext.gif` | Next slide button (enabled)
`cnonext.gif` | Next slide button (disabled)
`cset.gif` | Set button (enabled)
`cnoset.gif` | Set button (disabled)
`gauge*.gif` | Progress indicator bars (gauge0.gif ... gauge10.gif)

Table of Contents