解决方案 »
- 调用IE查找 报错
- ext中多个panel只能显示第一个
- js脚本问题
- 如何使用javascript下FileSystemObject对象获取linux服务器上/proc/stat文件内容
- 帮我看看这个js检验中文名字该怎么改
- 为什么在这里scrollLeft属性设置无效?
- 一个关于时间的问题(js)在线等待
- 两个select(size大于1),怎么达到这样的功能
- 请教一个麻烦的窗口关闭问题?!!!
- 如何在子桢topFrame中取得另一子桢mainFrame中form表中的textbox的值
- jQuery跨域请求缺少";"求助
- form.all.tags("input");提示Uncaught TypeError: Cannot call method 'tags' of undefi
加上以下样式,测试环境:3.6.4
<style type="text/css">
.cke_dialog_background_cover{display:none;}
</style>如果不对,很简单,打开FF浏览器,访问一个有这个编辑器的页面,遮罩层出来后,按F12打开开发者工具,然后点"查看器",再点击那个"使用鼠标选择元素",然后拿鼠标对着遮罩层点一下,看看下面"查看器"中对那个层是怎么定义的,再参考上面的方法去试试
呵呵,我用的是2.6.10,不是3.X版本,因为我给它写了几个插件,用着满舒服的,所以不值得换。它是动态生成的DIV代码:
<div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; background-image: none; position: absolute; z-index: 11002; top: 0px; left: 0px; background-color: rgb(255, 255, 255); opacity: 0.5; width: 1342px; height: 607px; "></div>我一直找不到生成这段代码的地方,所以就过来求助CSDN了,虽然楼上两位并没有帮上忙,但是很感谢你们。
FCKDomTools.SetElementStyles(C,{'width':Math.max(H.scrollWidth,H.clientWidth,E.scrollWidth||0)-1+'px','height':Math.max(H.scrollHeight,H.clientHeight,E.scrollHeight||0)-1+'px'});
改为:
FCKDomTools.SetElementStyles(C,{'width':Math.max(H.scrollWidth,H.clientWidth,E.scrollWidth||0)-1+'px','height':Math.max(H.scrollHeight,H.clientHeight,E.scrollHeight||0)-1+'px','display':'none'});