鼠标移动型不能保持
<div id="bg">
<div id="top"></div>
<div id="content"></div>
</div>鼠标点击在top移动,,cursor=move
但是移动的时候变成了文本型的指针,,怎么保持 move
$(top).onmousemove=function(){
this.style.cursor="move"
}
还是没反应
------解决方案--------------------
这jQuery对象和IE里的DOM模型混在了一起,要么$(),要么document.getElementById()
JScript code$(function () { $('#top').mousemove(function () { $(this).css("cursor", "move"); });});document.getElementById('content').onmousemove = function () { this.style.cursor = "move";};
------解决方案--------------------
你上面cn 是什么
------解决方案--------------------
查询谷 - www.chaxungu.com
鼠标移动型不能保持,该怎么解决
编辑:chaxungu时间:2022-10-02 23:16:30分类:web开发