Description
Hides the specified panel and its accordion layout.
Function syntax
ColdFusion.Layout.hideAccordion(layoutname, layoutareaname) |
See also
cflayout, ColdFusion.Layout.collapseAccordion, ColdFusion.Layout.createAccordionPanel,
ColdFusion.Layout.expandAccordion, ColdFusion.Layout.getAccordionLayout,
ColdFusion.Layout.selectAccordion, 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 panel to hide. |
layoutareaname |
The name attribute of the panel to hide. |
Returns
This function does not return a value.
Example
The following example creates an accordion layout with two panels. Click the buttons to show and hide the second panel.
<html xmlns="http://www.w3.org/1999/xhtml"> |