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

Yehuda Shiran, Ph.D.
Doc JavaScript

Developer News
Microsoft Shows Off Silverlight 4, IE9 Plans
Metasploit Expands Vulnerability Test Framework
HyperCard Reborn?

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, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs

webref The latest from WebReference.com Browse >
Rolling Out Your Own HTML Application Version Control · HTML 5: Client-side Storage · Working with Ajax Server Extensions
Sitemap · Experts · Tools · Services · Email a Colleague · Contact FREE Newsletters 
 The latest from internet.com
Wi-Fi Product Watch, November 2009 · Chip Market Recovering From '08 Collapse · Low-Cost Tools to Kickstart Your New Business