最好的FCKeditor编辑器,使用方法(多国语言的)

本文介绍了一个基于FCKeditor的用户注册表单实现方法,详细展示了如何利用FCKeditor为用户提供富文本编辑功能,并通过示例代码说明了如何设置编辑器的高度、宽度及默认值。
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<!-- 
FCKeditor: 是编辑器的文件夹包。
http:
//www.fckeditor.net
优点:
1支持各国语言
2客户操作十分方便
 
-->
    
<!-- #INCLUDE file="FCKeditor/fckeditor.asp" -->

</head>

<body>
<form name="form1" method="post" action="editorTest_Request.asp">
  
<table border="0" align="center" cellpadding="0" cellspacing="0">
    
<tr>
      
<td colspan="2"><div align="center"><strong>用户注册</strong></div></td>
    
</tr>
    
<tr>
      
<td>用户名:</td>
      
<td><input name="txtUserName" type="text" size="20"></td>
    
</tr>
    
<tr>
      
<td>密 码:</td>
      
<td><input name="txtPwd" type="text" size="20"></td>
    
</tr>
    
<tr>
      
<td>个人简介:</td>
      
<td>
       
<%'====================================核心代码
            Dim oFCKeditor
            
Set oFCKeditor = New FCKeditor
            oFCKeditor.BasePath 
= "FCKeditor/"
            oFCKeditor.Height
=500
            oFCKeditor.Width
=550
            
            oFCKeditor.Value 
= "这个是给编辑器初始值" //这个是给编辑器初始值
            oFCKeditor.Create 
"DetailDesc"
          
'============================
            '在另一个页面只要Request("DetailDesc") 就可获取“个人简介”的值。
        %>
      
</td>
    
</tr>
    
<tr>
      
<td>&nbsp;</td>
      
<td><input type="submit" name="Submit" value="提交">
      
<input type="reset" name="Submit2" value="重置"></td>
    
</tr>
  
</table>
</form>
</body>
</html>
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值