Mozile Editor
-------------

http://mozile.mozdev.org
mozile@mozdev.org

Mozile adds what-you-see-is-what-you-get (WYSIWYG) editing to your web pages. 
It uses JavaScript and is compatible with current Mozilla Firefox and 
Internet Explorer web browsers.


Getting Started
---------------

To use Mozile, first download the latest version from our web site 
<http://mozile.mozdev.org>. Unzip the archive to a directory on your web 
server.

You include Mozile in your web page by adding a script tag like this to the 
<head> section:

	<script type="text/javascript" src="path/to/mozile.js"></script>

You can then configure Mozile with a second <script>, like this:
	
	<script type="text/javascript" src="path/to/mozile.js"></script>
	<script type="text/javascript">
		window.onload = function() {
			mozile.editElements("editor");
			mozile.useSchema("../lib/xhtml.rng");
		}
	</script>

For details on configuration options, visit 

	http://mozile.mozdev.org/0.8/doc/html/index.html

In this example configuration all elements that have their their "class" 
attribute set to "editor" will be editable by Mozile. For example:

	<div class="editor">
		<p>This paragraph is editable.</p>
	</div>

Instead of using the 'mozile.editElements("editor")' command, you can set the
"contentEditable" attribute of the elements you want to edit to "true", like
this:

	<div contentEditable="true">
		<p>This paragraph is editable.</p>
	</div>

Either method will work, so choose whichever one you prefer. You can now edit 
your web page with Mozile!

For information about how to save the pages that Mozile has edited, see:

	http://mozile.mozdev.org/0.8/doc/html/index.html


Compatibility
-------------

Our goal is for Mozile to work in as many modern browsers as possible. At the 
current stage of development Mozile works in:

- Mozilla Firefox 1.5
- Internet Explorer 6


Documentation and Getting Help
------------------------------

The place to start looking for help or more information is our home page:

	http://mozile.mozdev.org

For information specific to Mozile 0.8 visit:

	http://mozile.mozdev.org/0.8/index.html

For information on using and configuring Mozile, see the documentation at:

	http://mozile.mozdev.org/0.8/doc/html/index.html

Developer documentation on our APIs is available at:

	http://mozile.mozdev.org/0.8/doc/jsdoc/index.html

You can send email to our mailing list, or browse the archives for answers to 
your questions:

	http://mozile.mozdev.org/list.html

We also have an IRC chat room where you get immediate feedback from Mozile's 
developers:

	irc.freenode.net #mozile


Mozile Source Code
------------------

You can access to the latest Mozile source code in our CVS repository. For 
instructions see:

	http://mozile.mozdev.org/source.html

If you want to create a custom mozile.js file using your own list of Mozile 
modules, our Apache Ant build script can help you. Ant version 1.6.x is 
required (http://ant.apache.org). The tools/build.xml file contains the logic 
and the tools/build.properties file contains user modifiable settings. Get 
started by reading the help information:

	%> cd tools
	%> ant help



