主题: 为什么...代码相同...在chrome和ie上显示的效果却不一样
作者: extinction, 发布日期: 2012-12-21 16:00:45, 浏览数: 3336

ie感觉好像我写的代码都不管用似的……(上图是chrome的,下图是ie的)

 

<div id="addWindow" class="mini-window" title="添加通知" style="width:500px;height:465px;"showmodal="true"
         allowresize="flase"allowdrag="true">
        <div id="addForm" class="form" style="margin:5px 10px 5px 10px;">

         标题:<br />
        <input id="title" class="mini-textbox" style="width:100%;" required="true" requirederrortext="标题不能为空"/>
         类别:<br />
        <input id="comboType" class="mini-combobox" style="width:150px;" textField="text" valueField="id"
               data=contentType value="cn" showNullItem="true" allowInput="true"/> <br />
         正文:<br />
        <textarea id="ke" name="content" style="width:100%;height:250px;visibility:hidden;">
            测试测试测试测试测试测试测试测试
        </textarea>
        <input class="mini-fileupload" id="fileUpload" name="importFile" style="width:100%;"
               limittype="*.*" flashurl="../../Script/swfupload/swfupload.swf"
               onuploadsuccess="onUploadSuccess"/>
        <table style="width:100%;">
            <tr>
            <td style="text-align:center; padding-top:10px;" colspan="2">
            <a class="mini-button"iconcls="icon-ok" onclick="onConfirm">确认</a>
            <a class="mini-button"iconcls="icon-cancel" onclick="mini.get('addWindow').hide()">取消</a>
            </td>
            </tr>
        </table>

        </div>
    </div>

 

 

 

 

 

 var editor = null;
    setTimeout(function () {
        var editorId = "ke";
        editor = KindEditor.create('#' + editorId, {
            resizeType: 1,
            //uploadJson: 'kindeditor/upload_json.ashx',
            //fileManagerJson: 'kindeditor/file_manager_json.ashx',
            resizeType:0,
            allowPreviewEmoticons: false,
            allowImageUpload: true,
            items: [
      'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',
      'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
      'insertunorderedlist', '|', 'emoticons', 'image', 'link']
        });
    }, 1);

 

作者: Roddy, 发布日期: 2012-12-21 22:11:01

可能原因只有2个:

1)浏览器有缓存。

2)是不同代码。

回复
发表新帖 发表回复