我试图做一个google.com类似淡入(CEPT我想淡出文本)jQuery的鼠标移动()获取无鼠标移动
<script src="http://code.jquery.com/jquery-latest.min.js"></script>
<script>
$(document).ready(function() {
$("html").mousemove(function() {
$("p").fadeOut("slow");
});
});
</script>
与该代码被激活,我淡出自动获得虽然我没有移动鼠标,但激活了。在所有浏览器中都会发生。有小费吗?
无法在Chrome 5,FF 3.6中重现。 – 2010-06-27 23:03:15
这里是一个例子http://www.ximnet.com.my/jquery/mousemove.htm – thegreyspot 2010-06-28 00:13:30