日期:2014-05-18  浏览次数:20412 次

实现像163那样的鼠标延迟感应特性,请教不用层,用table能怎么实现,js高手来拿分吧?
不是延迟事件,而是延迟鼠标感应的速度,急用,谢谢!!
附代码:
<table   width= "760 "   border= "0 "   align= "center "   cellpadding= "0 "   cellspacing= "0 ">
<tr   valign= "bottom ">
<td   width= "40 "   height= "25 "   align= "center "   background= "image/static/menu_bg_7.gif "   id= "b_5 "> <a   href= "# "   class= "font12_white "   onMouseOver= "javascript:ChangeB(5); "   id= "t_5 "> 机械 </a> </td>
<td   width= "2 "> </td>
<td   width= "40 "   align= "center "   background= "image/static/menu_bg_8.gif "   id= "b_6 "> <a   href= "# "   class= "font1 "   onMouseOver= "javascript:ChangeB(6); "   id= "t_6 "> 电气 </a>
</td>
<td   width= "2 "> </td>
<td   width= "40 "   align= "center "   background= "image/static/menu_bg_8.gif "   id= "b_7 "> <a   href= "# "   class= "font1 "   onMouseOver= "javascript:ChangeB(7); "   id= "t_7 "> 五金 </a>
</td>
<td   width= "2 "> </td>
<td   width= "40 "   align= "center "   background= "image/static/menu_bg_8.gif "   id= "b_8 "> <a   href= "# "   class= "font1 "   onMouseOver= "javascript:ChangeB(8); "   id= "t_8 "> 化工 </a>
...

100分,实现了马上给分!!

------解决方案--------------------
在onmousemove中 sleep(1000) 可以不
------解决方案--------------------
js里面 就用 setInterval 吧
------解决方案--------------------
setTimeout
------解决方案--------------------
啥意思?
------解决方案--------------------

onMouseOver= "javascript:setTimeout( 'ChangeB(5) ', 100); "

??你是要这样> ?
------解决方案--------------------
延迟鼠标感应?你在控制面版中调整鼠标的响应速度不好吗?
------解决方案--------------------
什么意思哦?
------解决方案--------------------
总觉得只有在setTimeout上做文章
------解决方案--------------------
是不是 网易 的页面太慢所致