Versions Compared

Key

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

This documentation refers to the v0.4 released version of the Reorderer code. For documentation specific to the trunk, please see Layout Reorderer API.

Simple Layout Reorderer Overview

The Simple 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.

Initialization

Code Block
javascript
javascript
var myReorderableLayout = fluid.reorderLayout(containerSelector,
                                              layoutSelectors,
                                              orderChangedCallback,
                                              options);

Parameters

containerSelector

The containerSelector is a CSS-based string selector that identifies the DOM element containing the layout.

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

Join the fluid-talk mailing list and ask your questions there.

...