ColdFusion 9.0 Resources |
ColdFusion.Layout.collapseAccordionDescriptionCollapses an area of an accordion layout. Function syntaxColdFusion.Layout.collapseAccordion(layoutname, layoutareaname) See alsocflayout,ColdFusion.Layout.createAccordionPanel, ColdFusion.Layout.expandAccordion, ColdFusion.Layout.getAccordionLayout, ColdFusion.Layout.hideAccordion, ColdFusion.Layout.selectAccordion, ColdFusion.Layout.showAccordion, Using layouts in the Developing ColdFusion Applications HistoryColdFusion 9: Added this function Parameters
ReturnsThis function does not return a value. UsageThis function has no effect if the accordion is already collapsed. ExampleThe following code snippet collapses the accordion layout when the user clicks the button. <cfinput name="collapse2" width="100" value="Collapse Area 2" type="button" onClick="ColdFusion.Layout.collapseAccordion('thelayout', 'panel2')> |