紧急求助,更改鼠标样式. 各位:默认时鼠标移动到图像按钮上会显示一个"手"的样子.我应该如何在程序中更改它的样子呢?ImgBtn_First.Style.Add("cursor","hand");请指点,谢谢! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 onmouseover="this.style.cursor='hand';" onmouseover="javascript:this.style.cursor=\"hand\";" http://www.baron.com.cn/javascript/index7.asp?page=1 http://bbs.iaiai.com/forum/viewthread.php?tid=1790 我是要更改它的.也就是说,我即使要"手",也要一个"键头"imgagebtton可用时显示"手"不可用时显示"键头"写在服务端. Cursor = Cursors. ...(后面是枚举 自己选) this.ImageButton1.Attributes.Add("style","cursor:wait");this.ImageButton1.Attributes.Add("style","cursor:hand"); 谢谢!this.ImageButton1.Attributes.Add("style","cursor:wait");this.ImageButton1.Attributes.Add("style","cursor:hand");是我要的 //****例如.CSS Code.ButSaveSytel{ background-image:url(../images/save.gif); background-repeat:repeat; background-attachment:fixed; border-bottom-style:none; border-top-style:none; border-left-style:none; border-right-style:none; font-size:12px; font-family:宋体; cursor:hand;}//****调用<input id=butSave Class=ButSaveSytel type=button runat=server/> 添加扩展控件,然后再css中进行设定,鼠标类型往上多的是,ani类型 最后60分求解 MVC3 多表数据绑定的问题 输入字符串的格式不正确,判断表达式 大家看我在北京能拿多少工作 附简历 关于Calendar1控件的结束标志 如何获取用户的地理位置 关于HTML编辑器的问题(在线等) ASP.Net访问SQL Server出现"用户登录失败",这是什么原因呢? 无法在Web服务器上启动调试。未将项目配置为进行调试。 问一个弱智的初级问题 救命!win server2008上的IIS不能用PUT上传文件! 用户控件的问题:图片怎么显示不出来呀? 使用一个UBB c#完整版工具类后发现的几个问题
也就是说,我即使要"手",也要一个"键头"
imgagebtton可用时显示"手"
不可用时显示"键头"写在服务端.
this.ImageButton1.Attributes.Add("style","cursor:hand");
this.ImageButton1.Attributes.Add("style","cursor:wait");
this.ImageButton1.Attributes.Add("style","cursor:hand");
是我要的
.CSS Code
.ButSaveSytel
{
background-image:url(../images/save.gif);
background-repeat:repeat;
background-attachment:fixed;
border-bottom-style:none;
border-top-style:none;
border-left-style:none;
border-right-style:none;
font-size:12px;
font-family:宋体;
cursor:hand;
}//****调用
<input id=butSave Class=ButSaveSytel type=button runat=server/>