IE6触发onmouseover事件IE停止响应
javascript 部分
function showmsg(id)
{for(var i=1 ;i<=3;i++){
    if (id==i)
    document.getElementById("msgdiv"+i).className="indexTitle";
    else
    document.getElementById("msgdiv"+i).className="ShowNone";
}
}CSS部分
.ShowNone{ display:none;}
.indexTitle{ float:left; margin:0px auto; width:100px; height:200px; overflow:hidden; margin-left:50px;}HTML部分
<div class="IndexMidDiv">
  <div class="indexnav"><img src="/image/1A.jpg" alt="" width="293" height="265" border="0" usemap="#Map"  />
<map name="Map" id="Map">
  <area shape="rect" coords="19,67,115,182" href="#"  onmouseover="showmsg(3)"   />
  <area shape="rect" coords="204,34,286,173" href="#" onmouseover="showmsg(2)" />
  <area shape="rect" coords="99,9,172,56" href="#"  onmouseover="showmsg(1)" /></map></div>一旦鼠标移划过热区,IE停止响应,CPU使用100%,showmsg改过很多次,都没有解决,即使showmsg里什么也不写,也出击同样的情况,但时间短一点。排除病毒的可能。FF不会出去这种情况,但鼠标移动过快里,CPU占用也超过50%

解决方案 »

  1.   

    此回复为自动发出,仅用于显示而已,并无任何其他特殊作用
    楼主【husonic】截止到2008-06-27 01:25:22的历史汇总数据(不包括此帖):
    发帖数:0                  发帖分:0                  
    结贴数:0                  结贴分:0                  
    未结数:0                  未结分:0                  
    结贴率:-------------------结分率:-------------------
    如何结贴请参考这里:http://topic.csdn.net/u/20080501/09/ef7ba1b3-6466-49f6-9d92-36fe6d471dd1.html