易截截图软件、单文件、免安装、纯绿色、仅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学习(常用属性)


<!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>
<meta http-equiv="Content-Type" content="text/html; char ......

Sql版本除去html并截取指定长度的字符串

set ANSI_NULLS ON
set QUOTED_IDENTIFIER ON
Go
----截取字符串,并出去html
create FUNCTION [dbo].[CutString] (@str varchar(1000),@length int) 
RETURNS varchar(1000) AS 
BEGIN
 declare @mainstr varchar(1000)
 declare @substr varchar(1000)
 if(@str is not null or @st ......

去除字符串中的Html代码

        /// <summary>
        /// 去掉所有HTML标签
        /// </summary>
        /// <param name="strHtml">源字符串</param> ......

将 文本格式标记 转化为 html格式标记

在做一个聊天记录的时候遇到这样一个问题,之前写入的带有特殊标记的文字,在写入数据库再读取的时候,带有html标记,
在后台调试,设置断点,取出的数据(hgjghj)(包括样式),
用文本可视化查看  为  :&lt;FONT color=#e6421a&gt;hgjghj&lt;/FONT&gt;
用HTML可视化查看  为:<FO ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号