Mozile (xhtml editing in your browser)    




A "source" dialog for Mozile. Used by the "Dialog" save method to display the source code for the document.

Version: 0.7

Author: James A. Overton

<?xml version="1.0" encoding="UTF-8"?>

/* ***** BEGIN LICENSE BLOCK *****
 * Licensed under Version: MPL 1.1/GPL 2.0/LGPL 2.1
 * Full Terms at
 * Software distributed under the License is distributed on an "AS IS" basis,
 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
 * for the specific language governing rights and limitations under the
 * License.
 * The Original Code is James A. Overton's code (
 * The Initial Developer of the Original Code is James A. Overton.
 * Portions created by the Initial Developer are Copyright (C) 2005-2006
 * the Initial Developer. All Rights Reserved.
 * Contributor(s):
 *	James A. Overton <>
 * ***** END LICENSE BLOCK ***** */

 * @fileoverview A "source" dialog for Mozile. Used by the "Dialog" save method to display the source code for the document.
 * @link 
 * @author James A. Overton <>
 * @version 0.7

<xul:vbox id="MozileSourceInterface" class="mozileInterface"
	<div class="header">
		<xul:label value="Mozile Source"/>
		<textarea id="mozileSourceText" rows="20" readonly="readonly" value=""/>
	<div class="buttons">
		<select id="mozileSourceContent" onchange="mozile.getSourceInterface().refresh()" style="width: 100px">
			<option value="document">Document</option>
			<option value="editor">Editor</option>
		<select id="mozileSourceFormat" onchange="mozile.getSourceInterface().refresh()" style="width: 100px">
			<option value="HTML">HTML</option>
			<option value="XHTML">XHTML</option>
			<option value="XML">XML</option>
		<xul:button label="Email" oncommand="document.location='mailto:?body='+escape(document.getElementById('mozileSourceText').value)"/>
		<xul:button label="OK" oncommand="mozile.getSourceInterface().hide()"/>

Documentation generated by JSDoc on Wed Nov 1 15:11:15 2006

The mozile project can be contacted through the mailing list or the member list.
Copyright © 2000-2020. All rights reserved. Terms of Use & Privacy Policy.