| |
Interface
The HTML Rich Text Area accepts 4 parameters. They have the following functions:
Format: HTMLRichTextArea(form element name, width, height)
Form Element Name |
The string value of the HTML name tag associated with this HTML RTA. When used in
a form and the information is posted to another web page, the contents of the HTML RTA
is accessed via the Request.Form("<form element name>") |
Width |
The width of the HTML RTA. If settings file
(HTMLRichTextAreaFactorySettings.js) has SIZESINPERCENT set to
true then it is a percentage that the HTML RTA fills the parent's width. The
width of the HTML RTA changes with the width of the browser window. If it is
set to false then this width is the width in pixels. It does not resize with the width
of the browser. |
Height |
The numeric height in pixels of the HTML RTA. |
Default HTML |
The HTML string that is initially displayed in the HTML RTA. This string is being passed
into javascript code. If it contains apostrophes or carriage returns and line feeds then
this can trip up javascript. Ensure that the default HTML is properly escaped by preceding
apostrophes with a backslash (\) and carriage returns and line feeds with a \n.
Sample ASP code has been provided to help you escape these characters.
|
|
|