Description
Selects the specified accordion layout and displays its panels.
Function syntax
ColdFusion.Layout.selectAccordion(layoutname, layoutareaname) |
See also
cflayout, ColdFusion.Layout.collapseAccordion, ColdFusion.Layout.createAccordionPanel,
ColdFusion.Layout.expandAccordion, ColdFusion.Layout.getAccordionLayout,
ColdFusion.Layout.hideAccordion, ColdFusion.Layout.showAccordion, Using layouts in
Controlling Ajax user interface layout the Developing ColdFusion Applications
History
ColdFusion 9: Added this function
Parameters
Parameter |
Description |
---|---|
layoutname |
The name attribute of the accordion layout that contains the area to select. |
layoutareaname |
The name attribute of the panel to select. |
Returns
This function does not return a value.
Usage
This function has no effect on a disabled panel.
Example
The following code lets you select each of the two panels in an accordion layout.
<html xmlns="http://www.w3.org/1999/xhtml"> |