Home 

Requirements 

Whats New 

Features 

Architechure 

Security 

License Agreement 


    Evaluation 

    Deployment 

    Using 

Interface 

ASP 

Submitting 

Customization 

Settings 

Programming 

DB Integration 

Image Library 

Custom Buttons 

Presentation 


    Contact Us 

 

Customization

The HTML Rich Text Area can be customized in a variety of ways. The majority of the customization is handled through Boolean (true or false) variables that are declared in the HTMLRichTextAreaFactorySettings.js file. This file contains the default settings that you can either modify within the file or you can create a copy of the file and apply different settings for different HTML Rich Text Areas used throughout your site. Refer to the Settings page for a description of all of the changes that you can make.

To have multiple HTML Rich Text Areas on one page that have different behaviors simply copy the HTMLRichTextAreaFactorySettings.js file, edit the copy and reference the copy. We have already provided HTMLRichTextAreaFactorySettingsMinimum.js file which demonstrates the minimum functionality that the HTML Rich Text Area can have. It is found in the /inc/ directory.

You will notice that in the following code that the first HTML Rich Text Area uses the HTMLRichTextAreaFactorySettings.js file while the second one uses HTMLRichTextAreaFactorySettingsMinimum.js file.

<SCRIPT LANGUAGE="javascript" SRC="../inc/HTMLRichTextArea.js"></SCRIPT>

<SCRIPTLANGUAGE="javascript" SRC="../inc/HTMLRichTextAreaFactorySettings.js"></SCRIPT>
<SCRIPT LANGUAGE="javascript">
   <!--
      var strDefaultHTML = "<h1>Test Page</h1><p>The HTML Rich Text Area should now be displayed!</p>";
      new HTMLRichTextArea("content1", 80, 200, strDefaultHTML).Draw();
   //-->
</SCRIPT>

<SCRIPT LANGUAGE="javascript" SRC ="../inc/HTMLRichTextAreaFactorySettingsMinimum.js"></SCRIPT>
<SCRIPT LANGUAGE="javascript">
   <!--
         new HTMLRichTextArea("content2", 80, 200, strDefaultHTML).Draw();
   //-->
</SCRIPT>





(c) Copyright 2004
Sigma Solutions
tcpIQ is a member of the Sigma Solutions group