|
DescriptionExpands
a panel in an accordion layout.
Function syntaxColdFusion.Layout.expandAccordion(layoutname, layoutareaname)
HistoryColdFusion
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.
|
ReturnsThis
function does not return a value.
UsageThis
function has no effect if the panel is already expanded.
ExampleThe
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');">
|
|
|