|
DescriptionHides
an area of a border layout.
Function syntaxColdFusion.Layout.hideArea(layout, layoutArea)
HistoryColdFusion
8: Added this function
Parameters
Parameter
|
Description
|
layout
|
The name attribute of the
border layout that contains the area to hide.
|
layoutArea
|
The position in the layout of the area to
hide. 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 hidden.
ExampleThe
following code snippet hides the left area of the layout border
layout when the user clicks the button.
<cfinput name="hide2" width="100" value="Hide Area 2" type="button"
onClick="ColdFusion.Layout.hideArea('thelayout', 'left');">
|
|
|