@prefix rdf: . @prefix xsd: . @prefix itsrdf: . @prefix nif: . a nif:Word ; nif:anchorOf "non-standard" ; nif:beginIndex "211"^^xsd:nonNegativeInteger ; nif:endIndex "223"^^xsd:nonNegativeInteger ; nif:referenceContext ; nif:superString ; itsrdf:taIdentRef . nif:beginIndex "0"^^xsd:nonNegativeInteger ; nif:endIndex "1475"^^xsd:nonNegativeInteger ; nif:firstSection , ; nif:hasSection , ; nif:isString "Layers were the core of a method of dynamic HTML programming specific to Netscape 4. Each layer was treated as a separate document object in JavaScript. The content could be included in the same file within the non-standard layer element (or any other element with the positioning set to \"absolute\" via CSS) or loaded from a separate file with URL\"> or <div src=\"URL\">. It could also be generated via JavaScript with the layer = new Layer() constructor. The content would then be inserted into the layer with layer.document.write(). But in modern browsers, the functionality of layers is provided by using an absolutely-positioned div, or, for loading the content from an external file, an IFrame. Irrelevant to the actual use of layers, when Netscape 4 and Internet Explorer had significantly different JavaScript implementations, a JavaScript program would very often need to run different blocks of code, depending on the browser. To decide which bunches of code to run, a JavaScript program could test for support for layers, regardless of whether the program involved layers at all. Namely, if( document.layers ) { ...code that would be executed only by Netscape browsers... } else { ...code that would be executed only by Internet Explorer... }\n\nReferences\n\n* Netscape: Dynamic HTML in Netscape Communicator (On the Internet Archive)" ; nif:lastSection , ; nif:predLang ; nif:sourceUrl . a nif:Word ; nif:anchorOf "CSS" ; nif:beginIndex "303"^^xsd:nonNegativeInteger ; nif:endIndex "306"^^xsd:nonNegativeInteger ; nif:referenceContext ; nif:superString ; itsrdf:taIdentRef . a nif:Title ; nif:anchorOf "References" ; nif:beginIndex "1387"^^xsd:nonNegativeInteger ; nif:endIndex "1397"^^xsd:nonNegativeInteger ; nif:referenceContext ; nif:superString . a nif:Word ; nif:anchorOf "IFrame" ; nif:beginIndex "821"^^xsd:nonNegativeInteger ; nif:endIndex "827"^^xsd:nonNegativeInteger ; nif:referenceContext ; nif:superString ; itsrdf:taIdentRef . a nif:Paragraph ; nif:beginIndex "0"^^xsd:nonNegativeInteger ; nif:endIndex "663"^^xsd:nonNegativeInteger ; nif:nextParagraph ; nif:referenceContext ; nif:superString . a nif:Word ; nif:anchorOf "JavaScript" ; nif:beginIndex "141"^^xsd:nonNegativeInteger ; nif:endIndex "151"^^xsd:nonNegativeInteger ; nif:referenceContext ; nif:superString ; itsrdf:taIdentRef . nif:beginIndex "0"^^xsd:nonNegativeInteger ; nif:endIndex "1385"^^xsd:nonNegativeInteger ; nif:firstParagraph ; nif:hasParagraph , , , ; nif:lastParagraph ; nif:referenceContext ; nif:superString ; "0"^^ . a nif:Phrase ; nif:anchorOf "Netscape 4" ; nif:beginIndex "73"^^xsd:nonNegativeInteger ; nif:endIndex "83"^^xsd:nonNegativeInteger ; nif:referenceContext ; nif:superString ; itsrdf:taIdentRef . nif:anchorOf "dynamic HTML" ; nif:beginIndex "36"^^xsd:nonNegativeInteger ; nif:endIndex "48"^^xsd:nonNegativeInteger ; nif:referenceContext ; nif:superString ; itsrdf:taIdentRef . a nif:Phrase ; nif:anchorOf "Internet Explorer" ; nif:beginIndex "889"^^xsd:nonNegativeInteger ; nif:endIndex "906"^^xsd:nonNegativeInteger ; nif:referenceContext ; nif:superString ; itsrdf:taIdentRef . a nif:Paragraph ; nif:beginIndex "1227"^^xsd:nonNegativeInteger ; nif:endIndex "1385"^^xsd:nonNegativeInteger ; nif:referenceContext ; nif:superString . a nif:Paragraph ; nif:beginIndex "829"^^xsd:nonNegativeInteger ; nif:endIndex "1226"^^xsd:nonNegativeInteger ; nif:nextParagraph ; nif:referenceContext ; nif:superString . a nif:Phrase ; nif:anchorOf "On the Internet Archive" ; nif:beginIndex "1451"^^xsd:nonNegativeInteger ; nif:endIndex "1474"^^xsd:nonNegativeInteger ; nif:referenceContext ; nif:superString ; itsrdf:taIdentRef . a nif:Paragraph ; nif:beginIndex "1398"^^xsd:nonNegativeInteger ; nif:endIndex "1475"^^xsd:nonNegativeInteger ; nif:referenceContext ; nif:superString . a nif:Section ; nif:beginIndex "1387"^^xsd:nonNegativeInteger ; nif:endIndex "1475"^^xsd:nonNegativeInteger ; nif:hasParagraph ; nif:referenceContext ; nif:superString ; "1"^^ . a nif:Paragraph ; nif:beginIndex "664"^^xsd:nonNegativeInteger ; nif:endIndex "828"^^xsd:nonNegativeInteger ; nif:nextParagraph ; nif:referenceContext ; nif:superString .