Home arrow AJAX & Prototype arrow Page 4 - An Enhanced Ajax Approach to Active Client Pages

The HTML OBJECT Element - AJAX

In this final part of a four-part series, I give you my enhancements to the AJAX approach to Active Client Pages. Before I conclude the series, I will introduce two other approaches to you. Keep reading to learn how to help your web pages load more quickly.

TABLE OF CONTENTS:
  1. An Enhanced Ajax Approach to Active Client Pages
  2. The DOM Table
  3. The innerHTML Property
  4. The HTML OBJECT Element
  5. Summing Up
By: Chrysanthus Forcha
Rating: starstarstarstarstar / 7
October 28, 2008

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement

Most user agents have built-in mechanisms for rendering common data types such as text, GIF images, colors, fonts, and a handful of graphic elements. To render data types they don't support natively, user agents generally run external applications. The OBJECT element allows authors to control whether data should be rendered externally or by some program, specified by the author, that renders the data within the user agent.

The OBJECT element has an attribute called the archive attribute. This is what the specification says about this attribute: "This attribute may be used to specify a space-separated list of URIs for archives containing resources relevant to the object, which may include the resources specified by the 'classid' and 'data' attributes. Preloading archives will generally result in reduced load times for objects."

What really interests us here is the last statement, “Preloading archives will generally result in reduced load times for objects.” Note that URLs are URIs.

The HTML OBJECT Element, Images and ACP

We can make the URLs for the archive attribute be those of the images at the server. We can have an HTML OBJECT as an element in the web page. The images will be downloaded in advance as the specification indicates. We can then display the image when we want. This is a subject for an entirely separate article, which I will write in the near future. 



 
 
>>> More AJAX & Prototype Articles          >>> More By Chrysanthus Forcha
 

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort
   

AJAX & PROTOTYPE ARTICLES

- Best AJAX Tutorials for Forms
- The Best AJAX Tutorials
- 8 Great Ajax Tutorials
- Using Ajax and jQuery
- Using Ajax and jQuery with HTML Forms
- Ajax.org Offers Cloud9 IDE for JavaScript
- Java Technologies Provider ICEsoft Releases ...
- Using Recaptcha in AJAX Prototype Framework ...
- Google's Closure Compiler Service API: Addit...
- Installing Google Web Toolkit: Introducing t...
- Google's Closure Compiler Service API: Displ...
- Google's Closure Compiler Service API: Deliv...
- Google's Closure Compiler Service API: the A...
- Google's Closure Compiler Service API: the S...
- Google's Closure Compiler Service API: Optim...

Developer Shed Affiliates

 


Dev Shed Tutorial Topics: