Ian Oeschger wrote:
> Status of Layer Elements
> 
> LAYER and ILAYER are not supported by the W3 HTML 4.0 web standard or by
> Netscape 6. Per the HTML 4.0 specification, Netscape 6 and other Gecko-based
> browsers silently ignore the <LAYER>, </LAYER>, <ILAYER>, and </ILAYER> tags
> and render the HTML page as if those tags were not present.
> 
> If the LAYER or ILAYER element enclose other elements, those elements are
> rendered as content by Netscape 6. If the LAYER or ILAYER elements link in
> external files via their SRC attributes, those files are not included within
> the HTML page as the LAYER and ILAYER element and all their attributes are
> silently ignored by Netscape 6.
> 
> The NOLAYER element is also not supported. Per the HTML 4.0 specification,
> Netscape 6 and other Gecko-based browsers silently ignores the <NOLAYER> and
> </NOLAYER> tags and renders the HTML page as if they were not present. Keep in
> mind that Gecko will silently ignore the <NOLAYER> and </NOLAYER> tags
> themselves, but any elements enclosed between <NOLAYER> and </NOLAYER> are
> still rendered. This behavior in fact makes it easier to author a single page
> supporting Navigator 4 and Netscape 6 when necessary (see examples in table
> below).
> 
> Content transcluded (imported into the page) from an external file with the
> LAYER SRC attribute is silently ignored (and the referenced files not
> imported) by Netscape 6. Conversely, content enclosed between <NOLAYER> and
> </NOLAYER> tags is rendered by Netscape 6, though the LAYER and ILAYER tags
> themsevles are silently ignored. Navigator 4, on the other hand, will silently
> ignore the <NOLAYER> and </NOLAYER> tags and everything between them.
> 
> document.layers[] and other features of the Navigator 4 Layer DOM are
> similarly not supported.

This section is extremely repetitive, not only in content, but..
How many times does "silently ignore" appear in just these four paragraphs?

The whole thing can be summarized by saying that layers are not supported
by Netscape 6 at all. It goes without saying that the content between the
LAYER and NOLAYER tags will be rendered; that happens in every browser
that doesn't support those tags, so logically it will happen with Netscape 6.
Something like this should do:

----
<h3>Status of Layer Elements</h3>

<p>Because layers are not part of any W3C web standard, <strong>Netscape 6 
does not support layers.</strong> Like any other browser that doesn't support
layers, Netscape 6 renders the HTML as if the <code>LAYER</code>, 
<code>ILAYER</code>, and <code>NOLAYER</code> tags were not there.</p>

<p>document.layers[] and other features of the Navigator 4 Layer DOM are
similarly not supported.</p>
----


> In this sniffing code, the navigator object is interrogated for its version.
> If the version is "6", then the browser is understood to be Netscape 6.
> Otherwise, if the "MSIE" string is not found as part of the property, then the
> browser is IE5.
> 
>       if (navigator.appVersion.charAt(0) == "5") {
>         if (navigator.appName == "Netscape") {
>             isNav6 = true
>             alert('NS6')
>         }
>       }
>       else if (navigator.appVersion.indexOf("MSIE") != -1) {
>             isIE = true
>             alert('IE')
>       }

I'm not familiar with JavaScript, but it seems to me that the last sentence
has an extra negation. Wouldn't it be "if the string 'MSIE' _is_ found"?

Reply via email to