This page will walk you through an example of using the Fluid Reorderer's
reorderList() function to reorder a list in an HTML file.
This tutorial assumes that:
- you are familiar with what the List Reorderer is and does
- now you just want to know how to add it to your file.
For technical API documentation, see List Reorderer API and Reorderer API.
Tutorial: How to Use the List Reorderer
You are organizing a small conference, and there is lots to do. Being the organized person you are, you create a to-do list. You'd like to use the Reorderer to allow the order of items to be changed. This tutorial will show you how to use the Fluid List Reorderer for this.
There are five basic steps to using the List Reorderer in your application:
- Setup: Download and install the Fluid Infusion library
- Step 1: Prepare your markup
- Step 2: Write the script
- Step 3: Add the script to your HTML
- Step 4: Apply styles
The rest of this tutorial will explain each of these steps in detail.