/ext-4.1.0_b3/examples/window/window.html
HTML | 29 lines | 25 code | 2 blank | 2 comment | 0 complexity | 0862fd34afe1736f092782324240a69c MD5 | raw file
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2<html>
3<head>
4<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5 <title>Windows Example</title>
6 <link rel="stylesheet" type="text/css" href="../../resources/css/ext-all.css" />
7 <link rel="stylesheet" type="text/css" href="../shared/example.css"/>
8
9 <!-- GC -->
10
11 <script type="text/javascript" src="../../ext-all.js"></script>
12 <script language="javascript" src="window.js"></script>
13 <style type="text/css">
14 .x-panel-body p {
15 margin: 10px;
16 font-size: 12px;
17 }
18 </style>
19</head>
20<body>
21<!-- EXAMPLES -->
22<h1>Windows Example</h1>
23<p>Note that the js is not minified so it is readable. See <a href="window.js">window.js</a> for the full source code.</p>
24<p>This illustrates the <code>headerPosition</code> config of Panels, and also relative z-index management.</p>
25<p>The third Window owns two floating Windows who's z-indices are managed relative to <i>its</i> z-index. When that Window
26is occluded by another Window, and you click to bring it to the front, both its dependent Windows move to the front too.
27<p>This also illustrates constraining Windows.</p>
28</body>
29</html>