zoukankan      html  css  js  c++  java
  • FCK预览换换

    1.文件预览

    文件位于:

    Fckeditor\editor\filemanager\browser\default\frmresourceslist.html

    这里修改了第63行的js 显示预览效果

    /*'<img alt="" src="images/icons/' + sIcon + '.gif" width="16" height="16" border="0"><\/a>' +*/
       '<img alt="" src="' + fileUrl + '" width="50" height="50" border="0"></a><br/>' +

    2.图片预览文字提示换成中文

    Fckeditor\editor\dialog\fck_image\fck_image_preview.html

    可换成

    代码
    <body style="color: #000000; background-color: #ffffff">
        
    <id="lnkPreview" onclick="return false;" style="cursor: default">
            
    <img id="imgPreview" onload="window.parent.UpdateOriginal();" style="display: none" /></a>
    哈哈哈
    </body>

     所有的上传图片控件都不能使用,目录也是对的,权限也对的,么回事?

    解决方法:web.config里面加了句

    <identity impersonate="true"/>

    就好了

  • 相关阅读:
    java 复习001
    Some_sort_algorithms
    Install_pygments
    Install_ruby
    Ubuntu_wifi&pppoe
    Some_problem_with_octopress
    复习C语言
    VSim [a Racing-simulator by Vell001]
    Hello, Github Blog
    我的新计划 《2Dof Racing Simulator》2014/3/9 20:30:00
  • 原文地址:https://www.cnblogs.com/ant520/p/1741857.html
Copyright © 2011-2022 走看看