ColdFusion.Layout.showArea

Description

Shows an area of a border layout that was hidden by using the cflayoutarea tag inithide attribute or the ColdFusion.Layout.hideArea() JavaScript function.

Function syntax

ColdFusion.Layout.showArea(layout, layoutArea)

See also

cflayoutcflayoutareaColdFusion.Layout.collapseAreaColdFusion.Layout.expandArea

ColdFusion.Layout.getTabLayoutUsing layouts in Controlling Ajax user interface layout 

the Developing ColdFusion Applications

History

ColdFusion 8: Added this function

Parameters

Parameter

Description

layout

The name attribute of the border layout that contains the area to show.

layoutArea

The position in the layout of the area to show. Must be one of the following: bottom, left, right, or top.

Returns

This function does not return a value.

Usage

This function does not show an area that a user closed by clicking the X icon on the title bar. Other areas move, if needed, to accommodate the area.This function has no effect if the area is already visible.

Example

The following code snippet shows the left area of the layout border layout when the user clicks the button.

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

 

 Adobe

Get help faster and easier

New user?