Section |
---|
Column |
---|
| This page will walk you through an example of adding the Fluid Inline Edit component to an HTML file. For more general information about the Inline Edit API, see Simple Text Inline Edit API. This tutorial assumes that: - you are already familiar with HTML, Javascript and CSS
- you are familiar with what the Inline Edit is and does
- now you just want to know how to add it to your file.
Tutorial: How to Use the Inline EditScenarioYou've created a database to keep track of your vast collection of CDs, and you're working on a web interface for it. You'd like to be able to very easily edit the information on the page. This tutorial will show you how to use the Fluid Inline Edit for this. There are four basic steps to adding the Inline Edit to your application: - Setup: Download and install the Fluid Infusion library
- Step 1: Prepare your markup
- Step 2: Write the script
- Step 3: Add the Infusion library 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 | On This Page |
---|
borderStyle | solid |
---|
| Table of Contents |
---|
minLevelmaxLevel | 2 |
---|
maxLevelminLevel | 2 |
---|
|
|
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 SetupInfusion13: |
---|
| Tutorial Setup |
---|
|
...
Step 1: Prepare your markup
...
NOTE that the InfusionAll.js
file is minified - all of the whitespace has been removed, so it isn't really human-readable. If you're using the source distribution and you want to be able to debug the code, you'll want to include each of the required files individually. This would look like this:
Include Page |
---|
| Infusion13:Inline Edit DependenciesInfusion13: |
---|
| Inline Edit Dependencies |
---|
|
But all of these individual files are not necessary to make it work - the InfusionAll.js
file has everything you need.
...
If we add a stylesheet with these styles, the table will look like this when the mouse hovers over the album titles:
Center |
---|
Image Modified |
...