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 8 and up. Not supported on Lucee, etc.
Discouraged: The use of tags generating UI is generally discouraged by the CFML community. See: http://static.raymondcamden.com/cfuitherightway/cfpod/index.html
Attribute Reference
type string Required
Default: border
border
The type of layout.
Values:
accordionborderhboxtabvbox
align string
Default: center
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:
centerjustifyleftright
name string
The name of the layout region. Must be unique on a page.
padding string
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 string
A CSS style specification that defines layout styles.
tabheight numeric
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 height setting in an individual cflayoutarea tag style attributes.
tabposition numeric
Default: top
top
Applies only to tab type layouts. Specifies the location of the tabs relative to the tab region contents.
Values:
topbottom
titlecollapse boolean
Default: true
true
Specify whether title bar should act as collapse/expand toggle or not; default=true.
Values:
truefalse
activeontop boolean
Default: false
false
Specify whether active tab needs to be on top always; default=false.
Values:
truefalse
fillheight boolean
Default: true
true
True to adjust the active item's height to fill the available space in the container; default=true.
Values:
truefalse
fitToWindow boolean
Default: true
true
A Boolean value that specifies whether the border layout should occupy 100% of the width and height of the window
Values:
truefalse
height numeric
width numeric
buttonStyle string
Examples Sample code using the cflayout tag
© 2012–present Foundeo, Inc. and the CFDocs contributors.
Licensed under the MIT License.
ColdFusion is a trademark of Adobe Systems Incorporated.
https://cfdocs.org/cflayout