Moxi Media Inc.
<data-frame> Discussion Forum
IMF Developer's Guide » Site Configuration » <data-frame>  

The <data-frame> element is used to specify the content and size of the information frame in an IMF application when it opens. If you omit this element from your site configuration file, the data frame will contain the layer list using "$FRAMEWORK/imfLayers.jsp"

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

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

Attributes Description
url The URL of the document that should appear in the data 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.
position The position of the data frame. Valid values are "left" or "right". Optional, defaults to "right".
width The width of the data frame window, in pixels. Optional, defaults to 300.
border The width of the border around the data frame window, in pixels. Valid values are "true" or "false". Optional, defaults to "true".
frameset-border An indicator of whether the frameset containing the map frame and data frame should have a border. Valid values are "true" or "false". Optional, defaults to "true".
   

Examples:

<!-- Show the layers page, set the width to 350 pixels -->
<data-frame url="$IMF/imfLayers.jsp" width="350"/>

<!-- Show an HTML page that is in the same directory as the site configuration file. -->
<data-frame url="about.html" position="right" width="350"/>

<!-- Show an HTML page that is on a different server. -->
<data-frame url="http://www.somewhere.com/about.html" position="right" width="350"/>

Valid HTML 4.01!