FCKeditor在ASP环境中配置使用
来源:互联网 发布:tensorflow java版本 编辑:程序博客网 时间:2024/04/28 09:27
如果你知道FCKeditor编辑器功能的强大,正好想用它却不知道如何下手时,请跟我来!
先说一下我的测试环境:XPSP2,IIS5.1,FCKeditor2.0
在IIS上建立一个新的站点,我直接取名为FCKeditor
在DW里建立一个相对应的站点,测试服务器为本机,支持VBScript
下载FCKeditor2.0,这个东西是开源的,网上能下到的地方很多,自己找去……
下载下来的应该是压缩包,解压到FCKeditor站点根目录,什么都不需要更改,直接就可以开始调用了。等你会了的时候,会发现简单得要死去!
在站点根目录下,新建一个index.asp页面,<body>段内加如下代码(调用编辑器):
<%
Dim oFCKeditor
Set oFCKeditor = New FCKeditor
oFCKeditor.BasePath = "/FCKeditor/" //设置编辑器的路径,我站点根目录下的一个目录
oFCKeditor.ToolbarSet = "Default"
oFCKeditor.Width = "100%"
oFCKeditor.Height = "600"
oFCKeditor.Value = "" //这个是给编辑器初始值
oFCKeditor.Create "logbody" //以后编辑器里的内容都是由这个logbody取得,命名由你定
%>
加了这一段别忘了在index.asp前面第二行加上
<!--#include file="FCKeditor/fckeditor.asp" -->
把fckeditor.asp包含进来。切记切记!
就这么简单!
现在你只要把这个编辑器当成一个控件来使用,提取它的数据时用:request("logbody")
现在松口气吧。测试成功了。里面有些设置,去网上找些高级的使用说明来看吧。
- FCKeditor在ASP环境中配置使用
- FCKeditor在ASP环境中配置使用
- FCKeditor在ASP环境中配置使用
- FCKeditor在ASP环境中配置使用
- FCKeditor在ASP.NET环境中配置使用
- FCKeditor在ASP配置环境中的使用
- FCKeditor在ASP配置环境中的使用
- 在jsp环境中配置使用FCKEditor
- 在jsp环境中配置使用FCKEditor
- FCKeditor在JSP环境中配置使用
- 在jsp环境中配置使用FCKEditor
- 在jsp环境中配置使用FCKEditor
- 在JSP环境中配置使用FCKEditor
- 在JSP环境中配置使用FCKEditor
- 在jsp环境中配置使用FCKEditor
- 在jsp环境中配置使用fckeditor
- 在jsp环境中配置使用FCKEditor
- [转]FCKeditor在ASP配置环境中的使用
- 测试
- 深入探讨C++中的引用
- 好耳机真是爽
- C#.Net中TreeView控件应用详解!
- FCKeditor 2.1.1使用部署技巧
- FCKeditor在ASP环境中配置使用
- DateSet使用技巧
- 将RCP中的文字copy到操作系统剪贴板
- 随便感想
- FCKeditor使用初步
- C#哈西表使用初步
- CADC一把手之我见
- .net应用程序的部署1
- 新的日记开始