source.xml
Summary
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"?>
<!--
-->
<xul:vbox id="MozileSourceInterface" class="mozileInterface"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<div class="header">
<xul:label value="Mozile Source"/>
</div>
<xul:vbox>
<xul:textbox flex="1" id="mozileSourceText" multiline="true" readonly="true" value="" height="400px"/>
</xul:vbox>
<div class="buttons">
<select id="mozileSourceContent" onchange="mozile.getSourceInterface().update()" style="width: 100px">
<option value="document">Document</option>
<option value="editor">Editor</option>
</select>
<select id="mozileSourceFormat" onchange="mozile.getSourceInterface().update()" style="width: 100px">
<option value="HTML">HTML</option>
<option value="XHTML">XHTML</option>
<option value="XML">XML</option>
</select>
<xul:button label="Email" oncommand="document.location='mailto:?body='+escape(document.getElementById('mozileSourceText').value)"/>
<xul:button label="OK" oncommand="mozile.getSourceInterface().hide()"/>
</div>
</xul:vbox>
Documentation generated by
JSDoc on Thu Feb 16 20:20:37 2006