"Late Content" (LaCo) - or AJAX for the non-programmer is a “technique to speed up your page by initially showing only important content". LaCo can be used in four ways:
1. Automatic: It can just be used to partition off parts of the page (the less important parts) and have them load later….
2. Response to a user click: When the user clicks on your link, instead of navigating to a new page, it updates only part of the current page.
3. Response to a user click, with toggle: This is similar to Usage #2, except that a subsequent click from the user will hide the content again.
4. On mouse over: The content is loaded and displayed as soon as the user mouses over the link, no click necessary.
To use the above examples, your page must reference the LaCo.js file and the prototype.js file like so:
You can download the Protytype.js library from the prototype homepage (linked to the right), but it is also included in the LaCo download zip.