Moxi Media Inc.
<map-frame> Discussion Forum

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

The <map-frame> element is used to specify the content of the map frame in an IMF application when it opens. When using the default core IMF script (imfMainMap.jsp), it is not necessary to put this element in your site configuration file.

<map-frame url="$FRAMEWORK/imfMainMap.jsp" />

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

Frequency Description (in this context)
POS1 The <map-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 map 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. Optional, defaults to $FRAMEWORK/imfMainMap.jsp.
pan-border Controls whether the pan tools are shown around the map frame. Valid values are "true" or "false". Regardless of the setting of this attribute, the pan border is not shown in older browsers like Netscape 4. Optional, the default is "false".
pan-border-color The color of the pan border around the map. Use comma-separated RGB values like "255,0,0". Optional, defaults to "198,198,198" (gray).
pan-border-mouseover-color The color of the pan border choice when the user moves the mouse over the tool. Use comma-separated RGB values like "255,0,0". Optional, defaults to "51,102,153", which is the same color as the default tab bar (blue).
   

Example:

<map-frame pan-border="true" pan-border-color="102,153,204" pan-border-mouseover-color="51,102,153"/>