当FCK使用ie9上传的时候,弹出层时不能显示内容
原因是 IE 9 不支持var $=document.getElementById;这样的写法了。
解决方法可以这么来做:
打开这个文件, fckeditor/editor/js/fckeditorcode_ie.js ,找到第 38行的这个方法:
FCKTools.RegisterDollarFunction
将原来的
FCKTools.RegisterDollarFunction=function(A){A.$=A.document.getElementById;};
修改方法为:
FCKTools.RegisterDollarFunction=function(A){A.$=function(v){return A.document.getElementById(v);}};
解决方法可以这么来做:
打开这个文件, fckeditor/editor/js/fckeditorcode_ie.js ,找到第 38行的这个方法:
FCKTools.RegisterDollarFunction
将原来的
FCKTools.RegisterDollarFunction=function(A){A.$=A.document.getElementById;};
修改方法为:
FCKTools.RegisterDollarFunction=function(A){A.$=function(v){return A.document.getElementById(v);}};
文章详细介绍了如何解决FCK编辑器在IE9浏览器中上传时弹出层无法显示内容的问题。通过修改fckeditor/editor/js/fckeditorcode_ie.js文件中的FCKTools.RegisterDollarFunction方法,实现兼容性修复。
6913

被折叠的 条评论
为什么被折叠?



