芝麻web文件管理V1.00
编辑当前文件:/home/krishnamexports/www/panel/fckeditor/_samples/asp/sample03.asp
<%@ CodePage=65001 Language="VBScript"%> <% Option Explicit %> <% ' You must set "Enable Parent Paths" on your web site in order this relative include to work. %>
FCKeditor - Sample
FCKeditor - ASP - Sample 3
This sample shows how to change the editor toolbar.
Select the toolbar to load:
Default
Basic
<% ' 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. Dim sBasePath sBasePath = Request.ServerVariables("PATH_INFO") sBasePath = Left( sBasePath, InStrRev( sBasePath, "/_samples" ) ) Dim oFCKeditor Set oFCKeditor = New FCKeditor oFCKeditor.BasePath = sBasePath If Request.QueryString("Toolbar") <> "" Then oFCKeditor.ToolbarSet = Server.HTMLEncode( Request.QueryString("Toolbar") ) End If oFCKeditor.Value = "
This is some
sample text
. You are using
FCKeditor
." oFCKeditor.Create "FCKeditor1" %>