|
DescriptionCollapses
an area of a border layout.
Function syntaxColdFusion.Layout.collapseArea(layout, layoutArea)
HistoryColdFusion
8: Added this function
Parameters
Parameter
|
Description
|
layout
|
The name attribute of the
border layout that contains the area to collapse.
|
layoutArea
|
The position in the layout of the area to
collapse. 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 area is already collapsed.
ExampleThe
following code snippet collapses the left area of the layout border
layout when the user clicks the button.
<cfinput name="collapse2" width="100" value="Collapse Area 2" type="button"
onClick="ColdFusion.Layout.collapseArea('thelayout', 'left');">
|
|
|