The <status-script> element is used to override the core IMF script used
to display the status area beneath the map. The status frame script is called
whenever the map is refreshed, the active tool changes, or the active identify
or select layer is changed. This element allows you to specify an alternate
script (to imfStatus.jsp) or static document that is refreshed in the same way
without changing the scripts that call the status script.
| Frequency |
Parent Elements (the <status-script> element is valid within): |
|
POS1 |
<site-config> |
| |
|
|
| Frequency |
Description (in this context) |
|
POS1 |
The <status-script> element may appear once in the <site-config>
element in the specified sequence.
|
| |
|
|
|
Attributes |
Description |
|
url |
The URL of the alternate status script or static document.
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 XML file.
|
|
logo-url |
The URL of the logo to display on the status page.
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 XML file. If this attribute is not used, no logo graphic will be displayed.
|
|
logo-height |
The height of the logo graphic (if specified) in pixels. Required if element contains a logo-url attribute.
|
|
logo-width |
The width of the logo graphic (if specified) in pixels. Required if element contains a logo-url attribute.
|
| |
|
|
Example:
<status-script url="$IMF/imfStatus.jsp" background-color="204,204,204" logo-url="mylogo.png" logo-height="20" logo-width="75"/>