|
| <TABS> | Tree View | Discussion Forum |
| IMF Developer's Guide » Site Configuration » <TABS> |
The <TABS> element is used to define the tabs shown on your IMF site or application. Tabs are used to call documents used in the site and perform map functions.
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/22/ltblue/left11x22.gif" width="11" height="22" />
<RIGHT-DECORATION graphic="$IMF/tabs/22/ltblue/right10x22.gif" width="10" height="22" />
<SPACE-DECORATION graphic="$IMF/tabs/22/ltblue/spacer2x22.gif" width="2" height="22" />
<TAB url="$IMF/imfLayers.jsp"
target="dataFrame"
hint="Set Layers"
status="Set which layers display, and choose an identify layer."
help="$IMF/help/en/layers.txt"
graphic="$IMF/tabs/22/ltblue/en/layers51x22.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 url="$IMF/imfLayers.jsp"
target="dataFrame"
hint="Set Layers"
status="Set which layers display, and choose an identify layer."
help="$IMF/help/en/layers.txt"
graphic="$IMF/tabs/27/ltblue/en/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 url="$IMF/imfLayers.jsp"
target="dataFrame"
hint="Set Layers"
status="Set which layers display, and choose an identify layer."
help="$IMF/help/en/layers.txt"
graphic="$IMF/tabs/27/ltblue/en/layers53x27.gif"
width="53" height="27" />
</TABS>