close
如果你想要當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
全站熱搜