读书人

(转) 解决eWebEditor编辑器在IE7跟IE8

发布时间: 2012-10-15 09:45:25 作者: rapoo

(转) 解决eWebEditor编辑器在IE7跟IE8中无法正常使用的问题

转自:http://www.blogjava.net/improviser/archive/2010/06/09/323170.html

eWebEditor编辑器在遇到新版本IE浏览器的情况下,一些功能会散失掉,武功尽废,丝毫不起一些特意功能的作用,在这里说下具体的解决方法:
如果你用的是IE7或者IE8这两兄弟来做你的html翻译,那么就用以下方法来为eWebEditor打开任督二脉。
1.找到include或者js文件夹中的editor.js
2.搜索到"anonymous()"
3.把所在行替换为以下内容:

(转) 解决eWebEditor编辑器在IE7跟IE8中无法正常使用的有关问题if(navigator.appVersion.match(/8./i)=='8.')
(转) 解决eWebEditor编辑器在IE7跟IE8中无法正常使用的有关问题(转) 解决eWebEditor编辑器在IE7跟IE8中无法正常使用的有关问题????(转) 解决eWebEditor编辑器在IE7跟IE8中无法正常使用的有关问题{
(转) 解决eWebEditor编辑器在IE7跟IE8中无法正常使用的有关问题??????if?(element.YUSERONCLICK)?eval(element.YUSERONCLICK?+?"onclick(event)");??
(转) 解决eWebEditor编辑器在IE7跟IE8中无法正常使用的有关问题???}
(转) 解决eWebEditor编辑器在IE7跟IE8中无法正常使用的有关问题else
(转) 解决eWebEditor编辑器在IE7跟IE8中无法正常使用的有关问题
(转) 解决eWebEditor编辑器在IE7跟IE8中无法正常使用的有关问题(转) 解决eWebEditor编辑器在IE7跟IE8中无法正常使用的有关问题???(转) 解决eWebEditor编辑器在IE7跟IE8中无法正常使用的有关问题{
(转) 解决eWebEditor编辑器在IE7跟IE8中无法正常使用的有关问题?????if?(element.YUSERONCLICK)?eval(element.YUSERONCLICK?+?"anonymous()");
(转) 解决eWebEditor编辑器在IE7跟IE8中无法正常使用的有关问题}
(转) 解决eWebEditor编辑器在IE7跟IE8中无法正常使用的有关问题

这样一来,这IE7跟IE8这两兄弟就恢复武功了。

?

###CSS惹的祸。。

读书人网 >Web前端

热点推荐