易截截图软件、单文件、免安装、纯绿色、仅160KB

关于在html页面中创建fckeditor

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title>文本编辑器</title>
     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
 <meta name="robots" content="noindex, nofollow" />
 <link href="/sample.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="fckeditor/fckeditor.js" ></script>
<script type="text/javascript">
              <!--
                    // Automatically calculates the editor base path based on the _samples directory.
                    // This is usefull only for these samples. A real application should use something like this:
                    // oFCKeditor.BasePath = '/fckeditor/' ; // '/fckeditor/' is the default value.
//                    var sBasePath = document.location.href.substring(0,document.location.href.lastIndexOf('fckeditor.html')) ;
//                   
//                    alert(sBasePath);
                    var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
       


相关文档:

Html/Jsp常用的页面跳转方法

第一种:
<script language="javascript" type="text/javascript">
    window.location.href="login.jsp?backurl="+window.location.href;
</script>
第二种:
<script language="javascript">
    alert("返回");
    window.history.back ......

TextBox 超链接替换成HTML超链接形式


            string tent = this.TextBox_info.Text.Replace("<", "&lt;").Replace(">", "&gt;").Replace(" ", "&nbsp;&nbsp;&nbsp;&nbsp;").Trim().Replace("\n", "<br/>");
       & ......

html输入框去除记忆功能

IE提供了一个自动完成功能可以记忆我们的输入内容(如登录帐号等),方便下一次快速地录入类似资料.这确实是一个非常友好的功能,
自动完成功能,只需把AUTOCOMPLETE设为off即可,如:
整个表单禁止自动完成
HTML code
<FORM method=post action="submit.asp" AUTOCOMPLETE="OFF">
禁止文本框自动完成
HTML code ......

FCKeditor提交失败返回内容变html的解决方法

在FckEditor.Net 2.64和asp.net 2.0的环境下发现如下问题:如果浏览器执行返回动作,FckEditor编辑框内显示html代码:
  解决方法是:修改文件FCKEditor\editor\fckeditor.html,在window.onload = function()的函数第一行添加
  FCK.LinkedField.value=FCKTools.HTMLDecode(FCK.LinkedField.value);
  如果问题不 ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号