2 * Ext JS Library 2.2.1
\r
3 * Copyright(c) 2006-2009, Ext JS, LLC.
\r
4 * licensing@extjs.com
\r
6 * http://extjs.com/license
\r
9 Ext.onReady(function() {
\r
10 var form = new Ext.form.FormPanel({
\r
13 url:'save-form.php',
\r
14 defaultType: 'textfield',
\r
25 anchor:'100%' // anchor width by percentage
\r
35 anchor: '100%' // anchor width by percentage
\r
41 anchor: '100% 100%' // anchor width and height
\r
45 var window = new Ext.Window({
\r
53 bodyStyle:'padding:5px;',
\r
54 buttonAlign:'center',
\r