e.Row.Attributes.Add(" "currentcolor=this.style.backgroundColor;this.style.backgroundColor='Moccasin',this.style.fontWeight='';");
//当鼠标离开的时候 将背景颜色还原的以前的颜色
e.Row.Attributes.Add(" "this.style.backgroundColor=currentcolor,this.style.fontWeight='';");
上一篇:网页常用代码【最全的】
下一篇:GridView多行表头的实现
今天分享的是一个文字按钮链接,当鼠标悬浮时,线条会发生动态变化的效果。
js判断鼠标移入移出方向
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M