Forum Moderators: open

Message Too Old, No Replies

<layer>

do I need it?

         

seashell

9:11 pm on Oct 3, 2003 (gmt 0)

10+ Year Member



I'm trying to get a page to validate and <layer> isn't recoginized. I'm assuming it is there for backwards compatibility for Netscape, but everything works correctly in Netscape 4 without it. Is it safe to just take it out? Here is the code:

<div id="menu1"
onmouseout="showHideLayers('menu1','','hide'),swapImgRestore()"
onmouseover="showHideLayers('menu1','','show'),swapImage('Button1','','images/nav/mapson.gif',1)"
style="background-color: #ffffff; left: 154px; top: 130px; visibility: hidden;"
name="menu1">
<layer
onmouseout="showHideLayers('menu1','','hide'),swapImgRestore()"
onmouseover="showHideLayers('menu1','','show'),swapImage('Button1','','images/nav/mapson.gif',1)"
bgcolor="#ffffff">

Any thoughts on this would be helpful, as I am not very knowledgeable in this area. Is this pretty much the same as <DIV>?

Farix

10:37 pm on Oct 3, 2003 (gmt 0)

10+ Year Member



<layer> is propriatary code that is used only in Netscape 4. Its uses is highly discourage.