Activedit 4.0 Documentation -- ActivEdit Control - Properties

Inc="path to include"
Specifies URL to include files. Must be in same domain as calling page, or specified as a relative URL.
Ex: Inc="/activedit/inc/index.html"

Name="form field"
Specifies name of form field to save raw HTML data to.

Image=true/false
Toggles the visibility of the image button on the default toolbar (see toolbars).

ImagePath="drive:\folder\"
Required for IMAGE="yes". The path on the server to the image folder.

ImageURL="URL"
Required for IMAGE="yes". The URL to the image folder. If the BASEURL attribute is not specified, this must be a fully qualified URL, such as 'http://www.cfdev.com/images/'. If you do specify a BASEURL this can be a relative path such as '/images/index.html'.

BaseURL="URL"
Specifies a base URL that is prepended to all relative URLs in the document. Usually set to the root of a domain or virtual domain, ie. 'http://www.cfdev.com/' in order to allow the use of relative image paths.

Upload=true/false
Allows/disallows the uploading of images to the folder specified in IMAGEPATH
Default: UPLOAD="no"

Height=value
Sets the height of the control in the page in pixels or a percentage

Width=value
Sets the width of the control in the page in pixels or a percentage

ToolBar
Allows customization of the toolbar. (see toolbars)

ButtonColor=htmlcolorvalue
Specifies the color of the buttons in Activedit.
Default is the windows button color.

Border=htmlborderstyle
Sets the type of border around the control in CSS border notation.
Default is BORDER="1px outset"

AllowEditSource="yes/no"
Toggles visibility of the edit source option

BreakOnEnter Sets the enter key to insert <BR> instead of <P>

DefaultFont="font"
Sets the default font of the Activedit control. Specified in CSS font attribute notation. You must include a font size in addition to a font face when you use this attribute. This attribute is deprecated and does not apply to the output.
Example: DefaultFont="10pt Verdana"

QuickFonts="fontname, fontname, fontname"
A comma separated list of font names to be displayed in the quickfonts drop-down list.

QuickFontColors="font color, font color, font color"
A comma separated list of font colors to be listed in the quickfontcolor drop-down list.

QuickFormatNames
A comma separated list of block format element names. This list is loaded from the ActiveX control, so the order of elements must be consistent, but you can change the names of elements or remove elements. In the example below, Headings 3 through 6 are removed from the list by placing an "e" in their place. The first element, "Normal" does nothing and is displayed in the list as "Quick Format" for a list heading. A stylesheet attached to the control through the stylesheet attribute would apply CSS rules attached to these elements to the the block format element surrounding the selected text when an element is selected from the quickformat list. For instance, if your stylesheet has a rule: p {font-family: Arial; font-size: 10 pt;}, and the user placed the text insertion point inside a bulleted list and selected Paragraph from the quickformat list, the bulleted list would be converted to a paragraph with 10 pt Arial font. Also, all paragraphs created by the user would be 10 pt Arial.
Example:QuickFormatNames="Normal,Formatted,Address,Heading 1,Heading 2,e,e,e,e,Numbered List,Bulleted List,Directory List,Menu List,Definition Term,Definition,Paragraph"

QuickStyles="class, class, class"
A comma separated list of CSS classes.
Example:QuickStyles="titles, subtitles, text, bullets"

QuickStyleNames="display name, another display name"
A comma delimited list of display values for quickstyles list. This attribute is optional and aids in making CSS class values more user-friendly. Display Price List Cell instead of tb2, for instance. The order and number of values must match the order and number of values in the quickstyles attribute.
Example:QuickStyleNames="Titles, Subtitles, News, Price List"

StyleSheet="http://www.mysite.com/styles/site.css"
Imports a stylesheet to be applied to the control. The address may be relative, or an absolute address from the root when baseurl is also defined.

TabView="1/0"
Toggles the visibility of Normal/HTML tabs at the bottom left of the control. The tabs allow users to easily toggle between editing and source modes.

Applet="auto/always/off"
Toggles the use of the ActivEdit Applet.
auto = DHTML Editor in IE, Applet in Netscape (default value)
always = Always use the applet (IE and NS)
off = don't use the applet, but use the DHTML editor in IE

AppletLicense="key,key"
Place the applet license key generated in your account here to enable the applet for the domain in which the form page resides. The arrtibute will accept a comma delimited list. For www.cfdev.com and cfdev.com, for instance.

Activscan=true/false
XHTML=true/false Toggle HTML 3.2 or XHTML output
TabIndex=Integer. Sets the tabindex for the ActivEdit instance.


« Back       Home      Forward »

Copyright © ActivSoftware 1999-2004
http://www.activsoftware.com