Accessing Positioned Elements
- Whether created by CSS Positioning or by a LAYER tag, any top-level JavaScript HTML Element object (with name name) can be accessed in two ways:
- document.layers[name]
- document.name
(A top-level JavaScript HTML Element object has the document object as its parent, not another positioned element.)