要改變網頁中既有的光標樣式很簡單。這腳本只在 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>