Mat*_*tis 3 html javascript css jquery
使用正常
.foo {cursor:pointer;cursor:hand;width:250px;height:250px;background:#aaa;}
Run Code Online (Sandbox Code Playgroud)
和
<div class="foo"><!--ph--></div>
Run Code Online (Sandbox Code Playgroud)
如下所示:http://jsfiddle.net/UZq5d/2/
如果我将光标悬停在灰色背景上然后重新加载页面,则光标默认返回箭头.
是否有任何漂亮和轻量级的方法来检查光标是否在加载时.foo元素上?或者也许是定期,鼠标移动?jQuery允许.
编辑:我在OS X上使用Chrome时看到了这种行为.