spacer

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

home / experts / dhtml / column32
Developer News
HP to Microsoft: Thanks for Nothing
iPhone Remains Left Out as Android Scores Flash
The Year of Living the OpenSocial
Logo

Array Power, Part II
bringing the IE (and sometimes the Navigator) 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+.

In our last column, Array Power, Part I, we introduced the powerful Array object methods built-in to Netscape Navigator but missing from Internet Explorer.

Using the prototype property of the Array object, we created two new methods for Explorer, aligning it to the Navigator and ECMAScript standard:

shift() and unshift()

In this column, the second of three devoted to the topic, we'll look at the push() and pop() methods.

We'll prototype them for Explorer, and in the case of push() we'll modify the built-in behavior assigned to it by older versions of Navigator as well.

Prerequisites

We'll start with the push() method.


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 >
Administering RBAC in PHP 5 CMS Framework · xref: Automatic Cross Referencing Script · Book Review: Content Rich
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Building Command Line Utilities with Python · fring Brings Mobility to Junction Networks' OnSIP · Another Big Win for Wi-Fi Positioning

All Rights Reserved. Legal Notices.
Created: May 2, 2000
Revised: May 2, 2000

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