|
| <tabs> | Discussion Forum |
| IMF Developer's Guide » Site Configuration » <tabs> |
The <tabs> element is used to define the tabs shown on your IMF application.
There are three different scripts that are used for showing the tabs on an IMF site. imfTabs.jsp shows a set of tabs with rounded ends. imfTabsBar.jsp shows a tab bar that extends across the whole page. imfTabsBcgov.jsp shows a tab bar that extends across the whole page with the BC government mountain logo before the first tab. Examples of the configuration of each of these tab sets are included at the end of this document.
|
|
|
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>
The following is an example of tab configuration for the full width tab bar using imfTabsBar.jsp:
<tab-frame url="$IMF/imfTabsBar.jsp" />
<tabs>
<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/bc/layers53x27.gif"
width="53" height="27" />
</tabs>
The following is an example of tab configuration for BC Government using imfTabsBcgov.jsp:
<tab-frame url="$IMF/imfTabsBcgov.jsp" />
<tabs>
<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/bc/layers53x27.gif"
width="53" height="27" />
</tabs>