Moxi Media Inc.
<status-frame> Discussion Forum

IMF Developer's Guide » Site Configuration » <status-frame>  

The <status-frame> element is used to specify the content and height of the status frame in an IMF application when it opens. As an error could result if the actual status script is loaded into the frame before the map is loaded, it is best to load an empty document into the status frame initially, and let the status frame be updated when the map is finished loading. It is recommended that you omit the <status-frame> element from your site configuration file unless you have a good reason not to.

<status-frame url="$FRAMEWORK/imfBlankGray.jsp" />

Note that the status frame script is called whenever the map is refreshed, the active tool changes, or the active identify or select layer is changed. The default status frame script is imfStatus.jsp, but if you wish to use a custom script to display in this window you can override this value using the <status-script> element.

Frequency Parent Elements (the <status-frame> element is valid within):
POS1 <site-config>
   

Frequency Description (in this context)
POS1 The <status-frame> element may appear once within the <site-config> element in the specified sequence.
   

Attributes Description
url The URL of the document that should appear in the tab frame when the application opens. The URL can contain the special variable $FRAMEWORK 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 $FRAMEWORK are resolved relative to the location of the XML file. Required.
height The height of the status frame, in pixels. Required.