How can I manipulate layers from JavaScript?

Troy Niven

There are Netscape Layers, but Netscape 6 no longer uses layers. IE 4+, and Netscape 6 use the DIV tag for layer manipulation.

To manipulate those layers, you can use JavaScript, with CSS property changes.

Both layers and divs act differently.

For a tutorial on Netscape Layers, check out

For a tutorial on div tags, check out

And at the same site there are also instructions for cross-browser methods.

I don't yet have a resource for layers with Netscape6.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact