Warning |
---|
This tutorial is incomplete - treat it with caution. |
Section |
---|
Column |
---|
| This page will walk the reader through the steps necessary to use the Image Reorderer component. For specific information about the Image Reorderer API, see Image Reorderer API. Note to writer: integrate with Image Reorderer Integration Tutorial? | columnyou through an example of using the Infusion Reorderer's reorderImages() function to reorder image thumbnails in a collection. This tutorial assumes that: - you are already familiar with HTML, Javascript and CSS
- you are familiar with what the Image Reorderer is and does
- now you just want to know how to add it to your file.
For more general information about the Reorderer, see Reorderer. For technical API documentation, see Image Reorderer API and Advanced Reorderer API. Tutorial: How to Use the Image ReordererScenarioYou don't like flickr, and you're writing your own version. You want to use Infusion's Image Reorderer to let your users re-arrange the images in their collections. There are five basic steps to using the Image 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. |
Column |
---|
Panel |
---|
borderColor | #321137 |
---|
bgColor | #fff |
---|
titleBGColor | #aab597 |
---|
title | Status |
---|
borderStyle | solid |
---|
| This component is in Production status |
Panel |
---|
borderColor | #566b30 |
---|
bgColor | #fff |
---|
titleBGColor | #D3E3C4 |
---|
title | Image Reorderer: Making images reorderable |
---|
borderStyle | solid |
---|
| |
|
|
Tutorial: Making images reorderable
...
Panel |
---|
borderColor | #321137 |
---|
bgColor | #fff |
---|
titleBGColor | #c1b7c3 |
---|
title | See Also |
---|
borderStyle | solid |
---|
| |
Panel |
---|
borderColor | #321137 |
---|
bgColor | #fff |
---|
titleBGColor | #cccccc |
---|
title | Still need help? |
---|
borderStyle | solid |
---|
| Join the infusion-users mailing list and ask your questions there. |
|
|
...
Include Page |
---|
| Infusion13:Tutorial Setup |
---|
| Infusion13:Tutorial Setup |
---|
|
...
Step 1: Prepare your markup
Let's suppose you have some simple markup displaying a small collection of imagesyour image collections. To use the Image Reorderer, your image thumbnails must each be within a <div>
element, and the collection of thumbnails must be contained within an element. A simple example of this could be:
...