Description
Selects the specified tab and displays its layout area.
Function syntax
ColdFusion.Layout.selectTab(layout, layoutArea) |
See also
cflayout, cflayoutarea, ColdFusion.Layout.createTab, ColdFusion.Layout.disableTab, ColdFusion.Layout.enableTab,
ColdFusion.Layout.hideTab, ColdFusion.Layout.showTab, Using layouts in Controlling Ajax user interface layout
the Developing ColdFusion Applications
History
ColdFusion 8: Added this function
Parameters
Parameter |
Description |
---|---|
layout |
The name attribute of the tabbed layout that contains the area to select. |
layoutArea |
The name attribute of the tab layout area to select. |
Returns
This function does not return a value.
Usage
This function has no effect on a disabled tab.
Example
The following code lets you select each of the two tabs in a layout.
<html xmlns="http://www.w3.org/1999/xhtml"> |