不同样式鼠标

要改变网页中既有的光标样式很简单。这脚本只在 IE 4.0 以上浏览器中有效。把您的光标移向任一链接处便可一睹效果。


十字
<a href="whatever.html" style="cursor:crosshair">链接文字</a>

箭朝下
<a href="whatever.html" style="cursor:s-resize">链接文字</a>

箭朝左下
<a href="whatever.html" style="cursor:sw-resize">链接文字</a>

箭朝右下
<a href="whatever.html" style="cursor:se-resize">链接文字</a>


<a href="whatever.html" style="cursor:hand">链接文字</a>

求助
<a href="whatever.html" style="cursor:help">链接文字</a>

箭朝左
<a href="whatever.html" style="cursor:w-resize">链接文字</a>

移动
<a href="whatever.html" style="cursor:move">链接文字</a>

箭朝右
<a href="whatever.html" style="cursor:e-resize">链接文字</a>

箭右斜
<a href="whatever.html" style="cursor:ne-resize">链接文字</a>

文字
<a href="whatever.html" style="cursor:text">链接文字</a>

箭朝上
<a href="whatever.html" style="cursor:n-resize">链接文字</a>

箭朝上左倾
<a href="whatever.html" style="cursor:nw-resize">链接文字</a>

箭朝上右倾
<a href="whatever.html" style="cursor:ne-resize">链接文字</a>

等候
<a href="whatever.html" style="cursor:wait">链接文字</a>

 

就是如此简单!
请享用