Description
Disables the specified tab so it cannot be selected.
Function syntax
ColdFusion.Layout.disableTab(layout, layoutArea) |
See also
cflayout, cflayoutarea, ColdFusion.Layout.createTab, ColdFusion.Layout.enableTab, ColdFusion.Layout.showArea,
ColdFusion.Layout.hideTab, ColdFusion.Layout.selectTab, 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 disable. |
layoutArea |
The name attribute of the tab layout area to disable. |
Returns
This function does not return a value.
Usage
This function has no effect on the currently selected tab. A disabled tab appears grayed out.
Example
The following example lets you enable and disable a tab by clicking a link.
<html xmlns="http://www.w3.org/1999/xhtml"> |