摘要:
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... 阅读全文
摘要:
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 阅读全文