摘要: 1.应用案例: var Mouse = function () { // Look! no that = this! this.position = [0, 0]; if (document.addEventListener) { document.addEventListener('mousemove', ?); //this.move? } else if (document.attachEvent) { documen... 阅读全文
posted @ 2011-12-15 16:40 潇湘〃细雨 阅读(243) 评论(0) 推荐(0) 编辑
摘要: 1.gridview双击GridView的OnRowDataBound事件;在后台的GridView1_RowDataBound()方法添加代码,最后代码如下所示:protectedvoidGridView1_RowDataBound(objectsender,GridViewRowEventArgse){//首先判断是否是数据行if(e.Row.RowType==DataControlRowType.DataRow){//当鼠标停留时更改背景色e.Row.Attributes.Add("onmouseover","c=this.style.backgroundC 阅读全文
posted @ 2011-12-15 12:25 潇湘〃细雨 阅读(451) 评论(0) 推荐(0) 编辑