Mozile (xhtml editing in your browser)    




A "Save As" dialog for Mozile.

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 "Save As" dialog for Mozile.
 * @link 
 * @author James A. Overton <>
 * @version 0.7

<xul:vbox id="MozileSaveInterface" class="mozileInterface"

	<div class="header">
		<xul:label value="Mozile Saving" />
		<xul:hbox width="100%" align="center">

			<xul:label class="wide" value="Save Options:"/>
			<select id="mozileSavePresetList" style="width: 200px" onchange="mozile.getSaveInterface().restore()">
				<option value="default">Page Default</option>
				<option value="custom">Custom</option>
		<xul:hbox width="100%" align="center">

			<xul:label class="wide" value="Save Method:"/>
			<select id="mozileSaveMethodList" style="width: 200px"  onchange="mozile.getSaveInterface().changed()">


		<xul:hbox id="mozileSaveURLBox" align="center" collapsed="true">

			<xul:label class="wide" value="Save to URL:" control="mozileSaveToURL"/>

			<input type="text" id="mozileSaveToURL" onchange="mozile.getSaveInterface().changed()" style="width: 200px" />
			<!--  type="autocomplete" autocompletesearch="history" -->

		<xul:hbox width="100%" align="center">

			<xul:label class="wide" value="Save Content:"/>
			<select id="mozileSaveContentList" style="width: 200px"  onchange="mozile.getSaveInterface().changed()">
				<option value="document">Entire Document</option>
				<option value="editor">Current Editable Area</option>
		<xul:hbox width="100%" align="center">

			<xul:label class="wide" value="Save Format:"/>
			<select id="mozileSaveFormatList" style="width: 200px"  onchange="mozile.getSaveInterface().changed()">
				<option value="HTML">HTML</option>
				<option value="XHTML">XHTML</option>
				<option value="XML">XML</option>
	<div class="buttons">
		<xul:button label="Cancel" oncommand="mozile.getSaveInterface().hide()"/>
		<xul:button label="Save" oncommand="mozile.getSaveInterface().done()" />

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.