cflayout

Creates a region of its container (such as the browser
window or a cflayoutarea tag) with a specific layout
behavior: a bordered area, a horizontal or vertically
arranged box, or a tabbed navigator.

 <cflayout type="accordion">

 cflayout(type="accordion");

This tag requires Adobe ColdFusion. Not supported on Lucee, OpenBD, etc.

cflayout Attribute Reference

type
Required
Default: border

The type of layout. Values:
  • accordion
  • border
  • hbox
  • tab
  • vbox

align
Default: center

Specifies the default alignment of the content of
child layout areas. Each cflayoutarea tag can specify
an alignment attribute to override this value. Values:
  • center
  • justify
  • left
  • right

name

The name of the layout region. Must be unique
on a page.

padding

Applies only to hbox and vbox layouts.
You can use any valid CSS length or percent format,
such as 10, 10% 10px, or 10em, for this attribute.
The padding is included in the child layout area
and takes the style of the layout area.

style

A CSS style specification that defines layout styles.

tabheight

A CSS style specification that defines layout stApplies only to tab type layouts. Specifies the
height of the content area of all child layout
areas. You can override this setting by
specifying a hight setting in a individual
cflayoutarea tag style attributes.

tabposition
Default: top

Applies only to tab type layouts. Specifies the
location of the tabs relative to the tab region
contents. Values:
  • top
  • bottom

titlecollapse
Default: YES

Specify whether title bar should act as collapse/expand toggle or not; default=true.

activeontop
Default: NO

Specify whether active tab needs to be on top always; default=false.

fillheight
Default: YES

True to adjust the active item's height to fill the available space in the container; default=true.

fitToWindow
Default: YES

A Boolean value that specifies whether the border layout should occupy 100% of the width and height of the window

height

width

buttonStyle


Fork me on GitHub