http://www.csdn.net/Expert/TopicView1.asp?id=1004686

解决方案 »

  1.   

    netscape中使用的是<layer></layer>
      

  2.   

    是啊,netscape中使用的是<layer></layer>
    你可以根据浏览器的类型显示不同的代码。
      

  3.   

    你可以自己写一个函数来生成html代码。
    function createLayer(idstr){
     if(document.all)document.write('<div id="'+idstr+'"><div>')
     else document.write('<layer id="'+idstr+'"><layer>')
    }
    只是举例,不一定正确  ∧ ∧
    ( ⊙_⊙ ) 祝所有人好运!我会天天Happy的。
      

  4.   

    在netscape navigator6.2中应该是这样:toolTipSTYLE = document.getElementById("div1").style;
    toolTipSTYLE.display = "none";
    在netscape communicator中不支持,目前不知如何写
      

  5.   

    netscape中好像没有<div>标签,要换成<layer>标签试一试
      

  6.   

    <div id="div1" name="div1" style="display:">
    测试
    </div>
    <input type="button" onClick="document.getElementById('div1').style.display='none'">
      

  7.   

    你可以到
    http://www.csdn.net/Develop/Read_Article.asp?Id=5361查看在NS6+里都支持哪些属性和对象