• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

The <LAYER> Element

Netscape Navigator 4.0 introduced the <LAYER> element, which enables you to create positionable layers of content in a web page. Today that role has largely been taken over by style sheets and elements such as <DIV>, but layers were quite popular for a while. (They’re no longer supported in Netscape Navigator 6.) Layers are often used to position and move elements in a page, so I’ll take a look at them here in our dynamic pages chapter. You can see an overview of the properties, methods, and events of the <LAYER> element in Table 16.1, its properties in depth in Table 16.2, its methods in Table 16.3, and its events in Table 16.4.

Table 16.1. Overview of the Properties, Methods, and Events of the <LAYER> Element
Properties Methods Events
above captureEvents onblur
background handleEvent onfocus
below load onload
bgcolor moveAbove onmouseout
clip moveBelow onmouseover
document moveBy 
left moveTo 
name moveToAbsolute 
pageX releaseEvents 
pageY resizeBy 
parentLayer resizeTo 
siblingAbove routeEvent 
siblingBelow  
src  
top  
visibility  
zIndex  



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint