hingis_fans
小狐狸
小狐狸
  • UID140
  • 注册日期2004-11-25
  • 最后登录2005-06-04
  • 发帖数42
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
阅读:2836回复:4

发现一个似乎是臭虫的问题

楼主#
更多 发布于:2005-01-13 08:38
对 风格 → 光标 中的属性 手 似乎解释有误,把 手 解释成 文本 了。
用 “文档.获得标识符元素("标识符名").风格.光标” 得到的值确实是 手,但光标就不肯显示 手。

<font style="cursor:hand" id="asdf">hand</font><br>
<font style="cursor:text">text</font><br>
<font style="cursor:move">move</font><br>
<font style="cursor:e-resize">e-resize</font><br>
<font style="cursor:nw-resize">nw-resize</font><br>
<font style="cursor:s-resize">s-resize</font><br>
<font style="cursor:sw-resize">sw-resize</font><br>
<font style="cursor:crosshair">crosshair</font><br>
<font style="cursor:wait">wait</font><br>
<font style="cursor:help">help</font><br>
<font style="cursor:n-resize">n-resize</font><br>
<font style="cursor:w-resize">w-resize</font><br>
<font style="cursor:se-resize">se-resize</font><br>
fiag
管理员
管理员
  • UID1188
  • 注册日期2004-12-21
  • 最后登录2024-04-22
  • 发帖数4681
  • 经验686枚
  • 威望0点
  • 贡献值402点
  • 好评度51点
1楼#
发布于:2005-01-13 08:38
不是hand 是 pointer
因為 Gecko 看不懂 hand 就不理,IE 看不懂 pointer 就處理 hand;
這樣兩個瀏覽器都可以看到手指游標。
hingis_fans
小狐狸
小狐狸
  • UID140
  • 注册日期2004-11-25
  • 最后登录2005-06-04
  • 发帖数42
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
2楼#
发布于:2005-01-13 08:38
谢谢。已经在用。

开始也想到了是代码的不支持,但除了这个手型外其他经典光标类型全支持,同时也支持ani的光标图形,就没有了方向了。
melop
小狐狸
小狐狸
  • UID1650
  • 注册日期2005-01-02
  • 最后登录2006-01-26
  • 发帖数87
  • 经验10枚
  • 威望0点
  • 贡献值0点
  • 好评度0点
3楼#
发布于:2005-01-13 08:38
hand 是不符合css 标准的。 Gecko 是对的。
欢迎光临我的小blog: http://blog.csdn.net/melop
fiag
管理员
管理员
  • UID1188
  • 注册日期2004-12-21
  • 最后登录2024-04-22
  • 发帖数4681
  • 经验686枚
  • 威望0点
  • 贡献值402点
  • 好评度51点
4楼#
发布于:2005-01-13 08:38
Cursor Information

What cursor types does your browser support?

http://gemal.dk/browserspy/cursors.html

W3C: the cursor property

http://www.w3.org/TR/REC-CSS2/ui.html#cursor-props
游客

返回顶部