script有一些問題,另外,你的onmouseover和onmouseout是分別在2個層上的!︰)<script language="javascript">
var ii;
function showhide()
{
ii=window.setTimeout("hideme()",20)
}
function hideme()
{
  Layer2.style.display="none"
  //document.write(window.event.srcElement.tagName)
}
function showme()
{
Layer2.style.display=""
window.clearTimeout(ii)
}
</script>

解决方案 »

  1.   

    可以把问题简单化,代码改成如下,问题依然存在:鼠标在层中滑动时只要滑到有字的地方,该
    层的onmouseout事件即发生,但这时鼠标仍然在该层内。??????
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <script language="javascript">
    function hideme()
    {
       Layer2.style.display="none"
    }
    </script>
    </head><body bgcolor="#FFFFFF">
    <div id="Layer2" OnMouseOut="return hideme();" style="position:absolute; background-color:black;width:200px; height:115px; z-index:1; left: 242px; top: 187px" >
      <font color=red>2354764986-
    3469-4658809</font>
    </div>
    </body>
    </html>
      

  2.   

    试试改成 onmouseout ="hideme();return true;" 
      

  3.   

    哈哈,这是必然的,IE用对象方式实现HTML中的元素,
    当然单纯的文字应该不会引发ONMOUSEOUT的,但如果
    用表格。。
    以前,我在超链接上隐、现层,结果是显出来就消掉,
    哈哈,查了半天。改成在层上点一下再消除吧。