spacer
Yehuda Shiran November 24, 2000
Document Object in Netscape 6
Tips: November 2000

Yehuda Shiran, Ph.D.
Doc JavaScript

Developer News
News Flash: Adobe Has iPhone Workaround
Adobe's Flash 10.1 Goes Mobile (Minus iPhone)
A Salute to Visionary CEOs

As advertised by the W3C (World Wide Web Consortium), Mozilla-based browsers are not going to support the Internet Explorer's proprietary document.all object, nor will they support the Netscape Navigator's proprietary document.layers object. Indeed, Netscape 6 delivers on this promise. It does not understand Navigator's document.layers, nor does it comprehend Internet Explorer's document.all. The following links compute document.all and document.layers. Try to run them on your system. You should find that document.all is supported only for Internet Explorer, and document.layers is supported only by Netscape Navigator. In this case, You should see an alert box with the [object] message. In all other cases, including Netscape 6, these attributes are not understood, and you should redevelop your page using other capabilities.


People who read this tip also read these tips:

Look for similar tips by subject:

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

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

webref The latest from WebReference.com Browse >
Building a Banking Application Home Page with OOP · Mixing Scripting Languages · Review: phpFox, a Social Networking CMS with all the Bells and Whistles
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Enterprise 2.0: Social Networking in the Cloud · BroadSoft Marketplace Hastens Pace of Telephony Innovation · Review: HTC Hero for Sprint