Moxi Media Inc.
<left-decoration> Discussion Forum
IMF Developer's Guide » Site Configuration » <tabs> » <left-decoration>  

The <left-decoration> element is used specify the graphic used to round the first tab in the tabs generated by imfTabs.jsp. This element is not used by the other tab scripts.

Frequency Parent Elements (this element is valid within):
PO1 <tabs>
   

Attributes Description
graphic The URL of the graphic used to decorate the left side of the tabs. 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.
height The height of the decoration graphic.
width The width of the decoration graphic.
   

Frequency Description (in this context)
PO1 This optional element may appear only once within the parent element.
   

The following is an example of tab configuration for the rounded tabs using imfTabs.jsp:

<tab-frame url="$IMF/imfTabs.jsp" />
<tabs>
  <left-decoration graphic="$IMF/tabs/ltblue_left.gif" width="11" height="22" />
  <right-decoration graphic="$IMF/tabs/ltblue_right.gif" width="10" height="22" />
  <space-decoration graphic="$IMF/tabs/ltblue_spacer.gif" width="2" height="22" />
  <tab name="Layers"
       url="$IMF/imfLayers.jsp"
       target="dataFrame"
       hint="Set Layers"
       status="Set which layers display, and choose an identify layer."
       help="$IMF/help/layersTab.txt"
       graphic="$IMF/tabs/ltblue_layers.gif"
       width="51" height="22" />
</tabs>

Valid HTML 4.01!