hiding and showing layers in IE???

1) How can I show and Hide multiple layers in IE.  I keep getting an error.
But with Netscape there's no errors and works fine.  
2) Why can't I do this in IE with javascript? This works in Netscape.


eg. 
<style type="text/css">
<!--
# layer1 { position: absolute; etc....
}
-->   

and in an eventhandler....

document.layer1.visibility = "hide";



regards,
Chau

Received on Thursday, 29 June 2000 18:18:44 UTC