日期:2014-05-16  浏览次数:20343 次

鼠标移动型不能保持
<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 是什么
------解决方案--------------------
探讨

举个例子

http://www.mianfeimoban.com/shubiaoshijian_tx/5585.html


别人做的也不行,,,鼠标不能保持