I'd have to look a bit deeper, but initially, don't call it layer since it tuurns up as a reserved word and browsers get confused easily. Beyond that, you're looking at some fun since the control between EI and NS are very different but you'll need something like this...
Hi Jeff, Show/Hide won't work with Netscape 6.x, it uses newer DOM model which is not backward compatible with Netscape 4.x. Here's a cross browser function that'll allow you to show/hide a lyer in most browsers. And yes, as David suggested you need to change name from layer to layer0 or something, and enclose it in a <div>...</div> tag intstead of <layer>...</layer>. Here's the code -
Also have look at this, and see if it is of any help. HTH, - Manish
[This message has been edited by Manish Hatwalne (edited October 29, 2001).]
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop