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
24 anchor:'100%' // anchor width by percentage
\r
34 anchor: '100%' // anchor width by percentage
\r
40 anchor: '100% 100%' // anchor width and height
\r
44 var window = new Ext.Window({
\r
52 bodyStyle:'padding:5px;',
\r
53 buttonAlign:'center',
\r