ColdFusion.Layout.expandAccordion

Description

Expands a panel in an accordion layout.

Function syntax

ColdFusion.Layout.expandAccordion(layoutname, layoutareaname)

See also

cflayoutColdFusion.Layout.collapseAccordionColdFusion.Layout.createAccordionPanel
ColdFusion.Layout.getAccordionLayoutColdFusion.Layout.hideAccordion
ColdFusion.Layout.selectAccordionColdFusion.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 expand.

layoutareaname

The name of the panel to expand. Must be one of the following: bottom, left, right, or top.

Returns

This function does not return a value.

Usage

This function has no effect if the panel is already expanded.

Example

The following code snippet expands the left area of the panel when the user clicks the button.

<cfinput name="expand2" width="100" value="Expand Area 2" type="button"
onClick="ColdFusion.Layout.expandAccordion('thelayout', 'left');">

 

 Adobe

Get help faster and easier

New user?

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online