IE 11中的AddEventListener - 支持ActivexControl事件绑定 [英] AddEventListener in IE 11 - support for ActivexControl events binding

查看:179
本文介绍了IE 11中的AddEventListener - 支持ActivexControl事件绑定的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


解决方案

您好,


您使用企业站点模式列表来强制传统的Intranet网页使用IE10仿真或在脚本中使用特征检测。


if(window.addEventListener){ax.addEventListener(......);} else {ax.attachEvent( .....)}


未来的解决方案是编写现代Web标准代码并用html5等效替换你的ActiveX控件或插件依赖...(画布,媒体元素, SVG)


解决方案

Hi,

you use Enterprise site mode lists to force legacy intranet web pages to use IE10 emulation or you use feature detection in your scripts.

if(window.addEventListener){ax.addEventListener(......);}else{ax.attachEvent(.....)}

The future proof solution is to code to modern web standards and replace your ActiveX control or plugin dependency with a html5 equivalent... (canvas, media element, svg)


这篇关于IE 11中的AddEventListener - 支持ActivexControl事件绑定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆