Layers are one great new feature of the Netscape Navigator 4.0. This allows absolute positioning
of objects like images. Besides that you can move objects on your HTML-page. You can
also hide objects.
Layers can easily be manipulated with the help of JavaScript. I hope you get as enthusiatic about
layers as I am.
You can only use layers with Netscape Navigator 4.0 at the moment!
As usual I won’t describe all details of the different tags. There is a good document describing
all elements of layers in Netscape Navigator 4.0 at http://home.netscape.com/comprod/products/
communicator/index.html - so there is no need to rewrite this.
What exactly are layers? This can be explained quite easily: you take several sheets of paper.
On one paper you write a text. On another one you draw an image. Write some text besides an
image on a third paper and so on. Now, put these sheets of paper on a table. Let’s say every paper
is a layer. From this aspect a layer is some kind of container. It can contain objects - i.e. in this
case text and images.
Now take a paper with an image on. Move it around on the table. Watch the image following
the movements of the paper carefully. If you move the paper to the right the image will follow!
What do we learn from this fascinating experience? Layers which can contain several different
objects - like images, forms, text etc. - can be placed on your HTML-page and can be moved
around. If you move a layer all objects contained in this layer will follow this movement.
Layers can overlap each other like papers on a table. Every layer can have transparent parts. Put
a hole in one paper. Now put this paper above another paper. The hole is a ’transparent part’ of
the first paper - the content of the underlying paper shines through.