Index: ssts-web/src/main/webapp/disinfectsystem/toussemanager/tousseinstancemanager/tousseInstanceView.js =================================================================== diff -u -r32099 -r32105 --- ssts-web/src/main/webapp/disinfectsystem/toussemanager/tousseinstancemanager/tousseInstanceView.js (.../tousseInstanceView.js) (revision 32099) +++ ssts-web/src/main/webapp/disinfectsystem/toussemanager/tousseinstancemanager/tousseInstanceView.js (.../tousseInstanceView.js) (revision 32105) @@ -1815,26 +1815,28 @@ }); Ext.onReady(function(){ - var x = 10; - var y = 20; - $(".s-step").mouseover(function (e) { - this.myTitle = this.title; - this.title = ""; - var tooltip = "
" + this.myTitle + "<\/div>"; //创建 div 元素 文字提示 - $("body").append(tooltip); //把它追加到文档中 - $("#tooltip").css({ - "top": (e.pageY + y) + "px", - "left": (e.pageX + x) + "px" - }).show("fast"); //设置x坐标和y坐标,并且显示 - }).mouseout(function () { - this.title = this.myTitle; - $("#tooltip").remove(); //移除 - }).mousemove(function (e) { - $("#tooltip").css({ - "top": (e.pageY + y) + "px", - "left": (e.pageX + x) + "px" + if(!isIE()){ + var x = 10; + var y = 20; + $(".s-step").mouseover(function (e) { + this.myTitle = this.title; + this.title = ""; + var tooltip = "
" + this.myTitle + "<\/div>"; //创建 div 元素 文字提示 + $("body").append(tooltip); //把它追加到文档中 + $("#tooltip").css({ + "top": (e.pageY + y) + "px", + "left": (e.pageX + x) + "px" + }).show("fast"); //设置x坐标和y坐标,并且显示 + }).mouseout(function () { + this.title = this.myTitle; + $("#tooltip").remove(); //移除 + }).mousemove(function (e) { + $("#tooltip").css({ + "top": (e.pageY + y) + "px", + "left": (e.pageX + x) + "px" + }); }); - }); + } }) }