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 

 

Using HTML Rich Text Area

The simplest way to get HTML Rich Text Area working is to copy the following code into your web page. To help, you can view the source of this page and scroll to the 'Begin Copy'.

Before continuing, ensure that you have read and follow the instructions in the Deployment page.

<SCRIPT LANGUAGE="javascript" SRC="../inc/HTMLRichTextArea.js"></SCRIPT>
<SCRIPT LANGUAGE="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("content", 80, 200, strDefaultHTML).Draw();
   //-->
</SCRIPT>


The code produces the following result:

NOTE: You can have multiple HTML Rich Text Areas per page but the first two lines should be included only once per webpage.

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

It is possible to include it multiple times without error but for efficiencies it should be avoided.



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