Upgrade to ExtJS 4.0.0 - Released 04/26/2011
[extjs.git] / examples / layout / anchor.html
index 2cb668d..789f730 100644 (file)
@@ -1,51 +1,15 @@
-<html>\r
-<head>\r
-    <title>Anchor Layout</title>\r
-    <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css"/>\r
-\r
-    <!-- GC -->\r
-    <!-- LIBS -->\r
-    <script type="text/javascript" src="../../adapter/ext/ext-base.js"></script>\r
-    <!-- ENDLIBS -->\r
-\r
-    <script type="text/javascript" src="../../ext-all.js"></script>\r
-\r
-    <style type="text/css">\r
-        html, body {\r
-            font: normal 12px verdana;\r
-            margin: 0;\r
-            padding: 0;\r
-            border: 0 none;\r
-            overflow: hidden;\r
-            height: 100%;\r
-        }\r
-    </style>\r
-    <script type="text/javascript">\r
-        Ext.onReady(function() {\r
-            var viewport = new Ext.Viewport({\r
-                layout:'anchor',\r
-                anchorSize: {width:800, height:600},\r
-                items:[{\r
-                    title:'Item 1',\r
-                    html:'Content 1',\r
-                    width:800,\r
-                    anchor:'right 20%'\r
-                },{\r
-                    title:'Item 2',\r
-                    html:'Content 2',\r
-                    width:300,\r
-                    anchor:'50% 30%'\r
-                },{\r
-                    title:'Item 3',\r
-                    html:'Content 3',\r
-                    width:600,\r
-                    anchor:'-100 50%'\r
-                }]\r
-            });\r
-        });\r
-    </script>\r
-</head>\r
-<body>\r
-<script type="text/javascript" src="../shared/examples.js"></script><!-- EXAMPLES -->\r
-</body>\r
-</html>\r
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
+    <title>Anchor Layout Example</title>
+    <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
+    <script type="text/javascript" src="../../bootstrap.js"></script>
+
+    <script type="text/javascript" src="anchor.js"></script>
+</head>
+<body>
+
+
+
+</body>
+</html>