cflayout - collapsible layout area in a border layout
cflayoutCollapsible.cfm
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>cflayout tag: how to create collapsible layout area in a border type layout</title>
</head>
<body>
<h2 style="color:SaddleBrown; font-style:italic">cflayout example: collapsible layoutarea</h2>
<hr width="550" align="left" color="LightPink" />
<br />
<cflayout name="BorderLayout" type="border" style="height:450px; width:575px; text-align:center">
<cflayoutarea name="TopBar" position="top">
Top
</cflayoutarea>
<cflayoutarea name="LeftBar" position="left" closable="true" style="width:75px" collapsible="true">
Left
</cflayoutarea>
<cflayoutarea name="CenterBar" position="center">
<img src="Images/Dolphin1.JPG" />
</cflayoutarea>
<cflayoutarea name="RightBar" position="right" closable="true" collapsible="true" style="width:75px">
Right
</cflayoutarea>
<cflayoutarea name="BottomBar" position="bottom">
Bottom
</cflayoutarea>
</cflayout>
</body>
</html>
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgA2OT-sVdCZQQfh6Rpjj1rrAQJLH7DBIM2Y5N6PD3zm0E_3N6IDG6SqLa2FgiGk8GcIiN6Iz3OhP42S7aBZm50mIcukcSuS4v6oNLWHrZnZsdwdhi3mngp8DDGyBFGUvJWAo2AfbQQEiU/s1600/cflayoutCollapsible.gif)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8SK_ITftB0aEucvLslvuxRxObSS-2gpoX3yzNm_i26QuGlMY3R212ozirvIGGY92byawNv3EXvQmj3PD6A4nBgm2SKuisTuTM4mY4yFxXBz9V9Wkk9gnWm_eIMdjGbpJKJ6zmz_rSiQU/s1600/cflayoutCollapsible1.gif)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU6-1y_uoyx2r5bhocEedD4kHqiERlRNR-23cy8wdD5uZgtNtqn6w6c9xEenWPnS1lXmfyB6HA1EEx61URD1gu7HgwI_HKVnMAlgKMeTxYlAjB73Y2slCHtpADll6mxLPOXJNeLFVJgSg/s1600/cflayoutCollapsible2.gif)