<img src="22.jpg" id="imgMain" class="imgMain" onmouseover="this.style.cursor='hand'"></div>
解决方案 »
- 关于js执行顺序的问题,求高人.
- jquery这段代码错了么为什么Order_1和Order_2的仍为空,求大虾帮助...在线等
- JFreeChart用过的朋友进来看看,高分求解决方法!
- javascript幻灯片效果被阻止? 怎么办?
- 下面这两段setTimeout 和setInterval有什么区别? 有没有什么简单的例子一下子说明白的??
- js控制层
- 求帮助一下JS翻页问题
- 字符串替换问题?
- 哪位高人能进一步把小窗口单独弄出来?
- 如何关闭window.open打开的多个窗口
- JavaScript如何获得服务器端的checkbox的text值??
- 我开了一个网站,有半个月了。今天突然发现,原来已经有了一个与我网站一样名字的了。如何办???我一定要改个名称吗?
document.all.id1.style.cursor = "hand";
当然何种样式根据你的需要,样式可以参考:
http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/cursor.asp
crosshair default hand pointer
move help wait text
w-resize s-resize n-resize e-resize
ne-resize sw-resize se-resize nw-resize
auto url(img/1001.gif) 示例:
p { cursor: text; }
a { cursor: pointer; }
body { cursor: url("mycursor.gif"), url("images/cursors/footcursor.jpg"), default; }