Child pages
  • Layout Reorderer API

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Section
Column
width60%

Layout Reorderer Overview

The Layout Reorderer is a convenience function for applying the Reorderer to portlets, content blocks, or other chunks of layout with minimal effort. This page provides technical details of the API. For a simple working example, see Integrating the Reorderer.


Creation

Code Block
javascript
javascript
var myReorderableLayout = fluid.reorderLayout(container[, options]);

Parameters

container

The container is a CSS-based selector, single-element jQuery object, or DOM element that identifies the DOM element containing the layout.

options

The options object is an optional collection of key/value pairs that can be used to further configure the Layout Reorderer, as described below in the fluid:Options section.

Column
Panel
borderColor#321137
bgColor#fff
titleBGColor#aab597
borderStylesolid
titleStatusborderStylesolid

This component is in Production status

solid
Panel
borderStyle
borderColor#566b30
bgColor#fff
titleBGColor#D3E3C4
borderStylesolid
titleOn This Page
Table of Contents
toc
maxLevel
5
minLevel2maxLevel5
Panel
borderColor#321137
bgColor#fff
titleBGColor#c1b7c3
borderStylesolid
titleSee AlsoborderStylesolid
Panel
borderColor#321137
bgColor#fff
titleBGColor#cccccc
borderStylesolid
titleStill need help?borderStylesolid

Join the infusion-users mailing list and ask your questions there.

...

Include Page
Reorderer Events
Reorderer Events
nopaneltrueReorderer Events

...

Anchor
optionsdescription
optionsdescription

...

The selectors option is an object containing CSS-based selectors for various parts of the Layout Reorderer. Supported selectors are:

Include Page
Layout Reorderer Selectors
Layout Reorderer Selectors
nopaneltrueLayout Reorderer Selectors

General options

Include Page
Reorderer Configuration Options
Reorderer Configuration Options
nopaneltrueReorderer Configuration Options

Layout-specific options

Name

Description

Values

Default

containerRole

indicates the role, or general use, for this instance of the Reorderer

fluid.roles.LIST
fluid.roles.GRID
fluid.roles.REGIONS

fluid.roles.REGIONS

...