diff --git a/_samples/asp/advanced.asp b/_samples/asp/advanced.asp
new file mode 100644
index 0000000..dfb94d5
--- /dev/null
+++ b/_samples/asp/advanced.asp
@@ -0,0 +1,105 @@
+<%@ codepage="65001" language="VBScript" %>
+<% Option Explicit %>
+
+<%
+
+ ' You must set "Enable Parent Paths" on your web site
+ ' in order for the above relative include to work.
+ ' Or you can use #INCLUDE VIRTUAL="/full path/ckeditor.asp"
+
+%>
+
+
+
+
+ Sample - CKEditor
+
+
+
+
+
+ CKEditor Sample
+
+
+
+
+
+
+
+
+
+
diff --git a/_samples/asp/events.asp b/_samples/asp/events.asp
new file mode 100644
index 0000000..5391cef
--- /dev/null
+++ b/_samples/asp/events.asp
@@ -0,0 +1,136 @@
+<%@ codepage="65001" language="VBScript" %>
+<% Option Explicit %>
+
+<%
+
+ ' You must set "Enable Parent Paths" on your web site
+ ' in order for the above relative include to work.
+ ' Or you can use #INCLUDE VIRTUAL="/full path/ckeditor.asp"
+
+%>
+
+
+
+
+ Sample - CKEditor
+
+
+
+
+
+ CKEditor Sample
+
+
+
+
+
+
+
+
+
+
diff --git a/_samples/asp/index.html b/_samples/asp/index.html
new file mode 100644
index 0000000..e40ec45
--- /dev/null
+++ b/_samples/asp/index.html
@@ -0,0 +1,103 @@
+
+
+
+
+ ASP integration Samples List - CKEditor
+
+
+
+
+ CKEditor Samples List for ASP
+
+
+ Overview
+
+
The ckeditor.asp file provides a wrapper to ease the work of creating CKEditor instances from classic Asp.
+
To use it, you must first include it into your page:
+
+ <!-- #INCLUDE file="../../ckeditor.asp" -->
+
+ Of course, you should adjust the path to make it point to the correct location, and maybe use a full path (with virtual="" instead of file="")
+
+
After that script is included, you can use it in different ways, based on the following pattern:
+
+
+
+ Create an instance of the CKEditor class:
+
dim editor
+set editor = New CKEditor
+
+
+ Set the path to the folder where CKEditor has been installed, by default it will use /ckeditor/
+
editor.basePath = "../../"
+
+
+ Now use one of the three main methods to create the CKEditor instances:
+
+
+ Replace textarea with id (or name) "editor1".
+
editor.replaceInstance "editor1"
+
+
+ Replace all textareas with CKEditor.
+
editor.replaceAll empty
+
+
+ Create a textarea element and attach CKEditor to it.
+
editor.editor "editor1", initialValue
+
+
+
+
+
Before step 3 you can use a number of methods and properties to adjust the behavior of this class and the CKEditor instances
+that will be created:
+
+
returnOutput : if set to true, the functions won't dump the code with response.write, but instead they will return it so
+ you can do anything you want
+
basePath: location of the CKEditor scripts
+
initialized: if you set it to true, it means that you have already included the CKEditor.js file into the page and it
+ doesn't have to be generated again.
+
textareaAttributes: You can set here a Dictionary object with the attributes that you want to output in the call to the "editor" method.
+
+
config: Allows to set config values for all the instances from now on.
+
instanceConfig: Allows to set config values just for the next instance.
+
+
addEventHandler: Adds an event handler for all the instances from now on.
+
addInstanceEventHandler: Adds an event handler just for the next instance.
+
addGlobalEventHandler: Adds an event handler for the global CKEDITOR object.
+
+
clearEventHandlers: Removes one or all the event handlers from all the instances from now on.
+
clearInstanceEventHandlers: Removes one or all the event handlers from the next instance.
+
clearGlobalEventHandlers: Removes one or all the event handlers from the global CKEDITOR object.
+
+
+
diff --git a/_samples/asp/replace.asp b/_samples/asp/replace.asp
new file mode 100644
index 0000000..d89e0bf
--- /dev/null
+++ b/_samples/asp/replace.asp
@@ -0,0 +1,72 @@
+<%@ codepage="65001" language="VBScript" %>
+<% Option Explicit %>
+
+<%
+
+ ' You must set "Enable Parent Paths" on your web site
+ ' in order for the above relative include to work.
+ ' Or you can use #INCLUDE VIRTUAL="/full path/ckeditor.asp"
+
+%>
+
+
+
+
+ Sample - CKEditor
+
+
+
+
+
+ CKEditor Sample
+
+
+
+
+
+
+
+
+ <%
+ ' Create class instance.
+ dim editor
+ set editor = New CKEditor
+ ' Path to CKEditor directory, ideally instead of relative dir, use an absolute path:
+ ' editor.basePath = "/ckeditor/"
+ ' If not set, CKEditor will default to /ckeditor/
+ editor.basePath = "../../"
+ ' Replace textarea with id (or name) "editor1".
+ editor.replaceInstance "editor1"
+ %>
+
+
diff --git a/_samples/asp/replaceall.asp b/_samples/asp/replaceall.asp
new file mode 100644
index 0000000..d1187ed
--- /dev/null
+++ b/_samples/asp/replaceall.asp
@@ -0,0 +1,77 @@
+<%@ codepage="65001" language="VBScript" %>
+<% Option Explicit %>
+
+<%
+
+ ' You must set "Enable Parent Paths" on your web site
+ ' in order for the above relative include to work.
+ ' Or you can use #INCLUDE VIRTUAL="/full path/ckeditor.asp"
+
+%>
+
+
+
+
+ Sample - CKEditor
+
+
+
+
+
+ CKEditor Sample
+
+
+
+
+
+
+
+
+ <%
+ ' Create class instance.
+ dim editor
+ set editor = New CKEditor
+ ' Path to CKEditor directory, ideally instead of relative dir, use an absolute path:
+ ' editor.basePath = "/ckeditor/"
+ ' If not set, CKEditor will default to /ckeditor/
+ editor.basePath = "../../"
+ ' Replace all textareas with CKEditor.
+ editor.replaceAll empty
+ %>
+
+
diff --git a/_samples/asp/sample_posteddata.asp b/_samples/asp/sample_posteddata.asp
new file mode 100644
index 0000000..3b45181
--- /dev/null
+++ b/_samples/asp/sample_posteddata.asp
@@ -0,0 +1,46 @@
+<%@ codepage="65001" language="VBScript" %>
+<% Option Explicit %>
+
+
+
+
+ Sample - CKEditor
+
+
+
+
+
+ CKEditor - Posted Data
+
+
+
+
+
+
Field Name
+
Value
+
+
+ <%
+ Dim sForm
+ For Each sForm in Request.Form
+ %>
+
+
<%=Server.HTMLEncode( sForm )%>
+
<%=Server.HTMLEncode( Request.Form(sForm) )%>
+
+ <% Next %>
+
+
+
+
diff --git a/_samples/asp/standalone.asp b/_samples/asp/standalone.asp
new file mode 100644
index 0000000..02cda38
--- /dev/null
+++ b/_samples/asp/standalone.asp
@@ -0,0 +1,72 @@
+<%@ codepage="65001" language="VBScript" %>
+<% Option Explicit %>
+
+<%
+
+ ' You must set "Enable Parent Paths" on your web site
+ ' in order for the above relative include to work.
+ ' Or you can use #INCLUDE VIRTUAL="/full path/ckeditor.asp"
+
+%>
+
+
+
+
+ Sample - CKEditor
+
+
+
+
+
+ CKEditor Sample
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/_samples/index.html b/_samples/index.html
index 84fa75d..d560ceb 100644
--- a/_samples/index.html
+++ b/_samples/index.html
@@ -40,6 +40,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license