The <GUI> element is used to set an alternate graphical user interface for the IMF
application. It specifies a script that sets up the page after the application is initialized
in imf.jsp. If no GUI element is included in the site configuration file, the standard
GUI is displayed.
The GUI element is also used to specify a style sheet to use in the IMF pages. You can use
a different style sheet to change the colors and fonts in the IMF core scripts.
| Frequency |
Parent Elements (this element is valid within): |
|
POS1 |
<SITE-CONFIG> |
| |
|
|
|
Attributes |
Description |
|
script-file |
The name of the script used to generate the IMF viewer. The value should be the name of
a file that is in the IMF directory or a subdirectory thereof, using the file and path
relative to the IMF installation directory. Optional, defaults to "imfGuiClassic.jsp".
|
|
style-url |
The URL to a CSS2 style sheet used to set up your viewer page, and to set the display
properties of core IMF scripts. The URL can contain the special variable $IMF to specify
that the document is relative to the IMF installation directory. Absolute URLs may also
be used. URLs that don't start with http: or $IMF are resolved relative to the location
of the site configuration XML file. Optional, defaults to "css/imfDefault.css".
|
| |
|
|
| Frequency |
Description (in this context) |
|
POS1 |
The <GUI> element is optional, and may appear only once in the <SITE-CONFIG> element in the specified sequence. |
| |
|
|
Example:
<GUI script-file="sites/bc-clf/gui.jsp" style-url="$IMF/sites/bc-clf/gui.css"/>