diTii.com Digital News Hub

Sign up with your email address to be the first to know about latest news and more.

I agree to have my personal information transfered to MailChimp (more information)


Introducing LaCo (or AJAX for the non-programmer)

“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.

blog.spotty | ajaxian

“Late Content” (LaCo) – or AJAX for the non-programmer

Share This Story, Choose Your Platform!

Get Latest News

Subscribe to Digital News Hub

Get our daily newsletter about the latest news in the industry.
First Name
Last Name
Email address
Secure and Spam free...