spacer

Webref WebRef   Sitemap · Experts · Tools · Services · Newsletters · About i.com

home / experts / dhtml / column31
Developer News
Google Chrome Playing Catch-Up on Extensions
Open Solutions Alliance Gets New Leadership
Red Hat Spacewalk Expands Linux Management
Logo

Array Power, Part I
bringing the IE Array object up to par


This column is part of the DHTML Lab thread:
Creating a Web Application
It can be appreciated by users of any browser, any version.
In-page examples will work only in Explorer 4+ and Navigator 4+.

As we all know, Internet Explorer has given us the expanded Document Object Model and associated properties and methods, making it a truly programmable DHTML browser. Netscape Navigator has fallen behind in its DOM implementation, with all its hopes pinned on the Gecko engine, still in beta.

One field where Navigator is ahead of Explorer, however, is in its JavaScript engine, which boasts a more powerful core language.

For example, the Navigator Array object has almost twice the number of built-in methods that the Explorer Array object has. These methods are invaluable in the creation of DHTML Web Applications.

In this two-part article, we will use the prototype property of the Array object to create new methods for Explorer, bringing it up to the Navigator and ECMAScript standard.

We will create a series of functions that you can make available to all your pages through an external JavaScript file, allowing both browsers to use the same Array methods.

Prerequisites

First, let's look at Array method support in the two browsers.


Produced by Peter Belesis and

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

webref The latest from WebReference.com Browse >
Popular JavaScript Framework Libraries: An Overview - Part 3 · Accessing Your MySQL Database from the Web with PHP · Working with the DOM Stylesheets Collection
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
MS Access and MySQL · Cisco AutoQoS: VoIP QoS for Mere Mortals · While VoIP Adoption Explodes in Enterprise, Carrier Spending Lags

All Rights Reserved. Legal Notices.
Created: April 26, 2000
Revised: April 26, 2000

URL: http://www.webreference.com/dhtml/column31/