ewebEditor 在IE6,IE7,IE8兼容 到 Ewebeditor下的editor.js这个文件,可能在js下或者include文件夹下  

把这行if (element.YUSERONCLICK) eval(element.YUSERONCLICK + "anonymous()");
换成下面的:
  try {
         if (navigator.appVersion.match(/8./i) == '8.' || navigator.appVersion.match(/7./i) == '7.') {
             if (element.YUSERONCLICK) eval(element.YUSERONCLICK + "onclick(event)"); //IE8 or IE7
         } else {
             if (element.YUSERONCLICK) eval(element.YUSERONCLICK + "anonymous()"); //IE6
         }
    }
    catch (e) {
        if (element.YUSERONCLICK) eval(element.YUSERONCLICK + "anonymous()"); //IE6
    }

这样,在IE6,7,8都是可以的了;


 <textarea name="content" style="display:none" cols="1" rows="1"><%if content<>"" then response.write content%></textarea>
    <IFRAME ID="eWebEditor1" SRC="edit/ewebeditor.asp?id=content&style=news" FRAMEBORDER="0" SCROLLING="no" WIDTH="600" HEIGHT="100%" marginwidth="1" marginheight="1" name="wfasdg"></IFRAME>   

content不要改
如果字段不同就新建个表

相关文章:

  • 2022-01-10
  • 2022-01-14
  • 2021-10-21
  • 2022-12-23
  • 2021-04-10
  • 2021-10-12
  • 2021-09-11
  • 2021-08-27
猜你喜欢
  • 2022-12-23
  • 2021-09-03
  • 2021-07-22
  • 2021-12-20
  • 2021-11-02
相关资源
相似解决方案