如果你想要當mouse over時變更cursor, css中有一個屬性是cursor, 當使用此屬性時即可達到你想要的目的.
EX: <input name="acct" style="cursor:progress"/>

但如果你想要的效果是,類似處理中請稍候,其實道理一樣,只是cursor的範圍改成body即可
EX: 

<style>
document.body.style.cursor = "progress";
//處理事情 
document.body.style.cursor = "default";
  //....結果document.body不能work.....

所以只好用body下面多加一層DIV吧 

</style>
 
樣式列表

 


auto
crosshair
default
e-resize
help
move
n-resize
ne-resize
nw-resize
pointer
progress
s-resize
se-resize
sw-resize
text
w-resize
wait

文章標籤
全站熱搜
創作者介紹
創作者 minglight 的頭像
minglight

minglight

minglight 發表在 痞客邦 留言(0) 人氣(98)