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")
From:http://blogcup.com/b3/keerxp/archives/2006/449954.shtml
版权声明:
作者:Kiyo
链接:https://www.wkiyo.cn/html/2008-01/i486.html
来源:Kiyo's space
文章版权归作者所有,未经允许请勿转载。
共有 0 条评论