On the web server, go to the HTMLRichTextAreaFactorySettings.js file found in the newly created
'inc' directory. Open the file and refer to the top few lines. Verify that the paths match your
environment's and if not then edit to suit.
// *************************************************
// MODIFY THE FOLLOWING LINES TO MATCH YOUR WEB SITE
// *************************************************
// Check whether we are running off a web server. The window.location.href will return http:// if we are.
if (window.location.href.substring(0,5).toLowerCase() != 'file:')
{
// *** Edit these lines to suit environment
// *** The code below assumes that the HTML Rich Text Editor has been released to the web
// *** server's '/inc' directory.
var IMG_DIRECTORY = "/inc/HTMLRTAImages/";
var CSS_FILE = "/inc/HTMLRichTextArea.css"; // This is optional or replace it with your own CSS file
var WBSC_FILE = "/inc/WBSC/HTMLSpellCheckWord.html";
var IMAGELIBRARY = "/inc/Library.asp";
}
If necessary change the paths to reflect the path to the HTMLRTAImages directory,
the HTMLRichTextArea.css file, the Image Library (Library.asp) and the path to the Web Browser Spell Check directory*
respectively.
|