改变鼠标样式 <input type=button onclick="this.style.cursor='hand'"> 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 在onclick事件中改变鼠标样式。即可<script>aa(i){i.style.cursor="hand"}</scriot><button onclike="aa()">test</button>一试就知 sorry,应该是<button onclike="aa(this)">test</button>或者直接写成:<button onclike="this.style.cursor='wait'">test</button>和seabell一样。 上面说的都没错,我补充各种鼠标的形状:各种样式的光标auto :标准光标default :标准箭头hand :手形光标wait :等待光标text :I形光标vertical-text :水平I形光标no-drop :不可拖动光标not-allowed :无效光标help :?帮助光标all-scroll :三角方向标move :移动标crosshair :十字标只需把上面的this.style.cursor='wait'引号部分改为上面的左边文字部分。 <input type=button onclick="this.style.cursor='url(img/1001.gif)'"> 砖家勿进,只求民间高手一枚~~如何让48w+次循环更舒心 关于淘宝网访客用户名的提取 一个获取页面HiddenField的值,刚学不太了解 实例化函数的时候为何这样? 请教一个简单的其他网站的网页的自动登录问题 怎样用javascript实现从指定ftp地址中下载文件到本地目录? 这样调用函数 参数传递为什么错误 高分急求!!!!!!!Javascript里怎么取得客户端的语言! 字符串连接问题 每一页面<head>..</head>调用的javascript,是否可以写入一个文件调用? 有办法改变当前框架的大小吗? marquee问题
<script>
aa(i)
{
i.style.cursor="hand"
}
</scriot><button onclike="aa()">test</button>
一试就知
和seabell一样。
各种样式的光标
auto :标准光标
default :标准箭头
hand :手形光标
wait :等待光标
text :I形光标
vertical-text :水平I形光标
no-drop :不可拖动光标
not-allowed :无效光标
help :?帮助光标
all-scroll :三角方向标
move :移动标
crosshair :十字标只需把上面的this.style.cursor='wait'引号部分改为上面的左边文字部分。