3 <title>The source code</title>
\r
4 <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
\r
5 <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
\r
7 <body onload="prettyPrint();">
\r
8 <pre class="prettyprint lang-js">Ext.onReady(function() {
\r
9 var form = new Ext.form.FormPanel({
\r
12 url:'save-form.php',
\r
13 defaultType: 'textfield',
\r
16 fieldLabel: 'Send To',
\r
18 anchor:'100%' // anchor width by percentage
\r
20 fieldLabel: 'Subject',
\r
22 anchor: '100%' // anchor width by percentage
\r
27 anchor: '100% -53' // anchor width by percentage and height by raw adjustment
\r
31 var window = new Ext.Window({
\r
39 bodyStyle:'padding:5px;',
\r
40 buttonAlign:'center',
\r