2150 |
mathias |
1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
|
2 |
<html>
|
|
|
3 |
<head>
|
|
|
4 |
<title>dojox.layout.BorderContainer Test</title>
|
|
|
5 |
|
|
|
6 |
|
|
|
7 |
<script type="text/javascript" src="../../../dojo/dojo.js"
|
|
|
8 |
djConfig="isDebug: true, parseOnLoad: true"></script>
|
|
|
9 |
<script type="text/javascript" src="../../../dijit/tests/_testCommon.js"></script>
|
|
|
10 |
|
|
|
11 |
<script type="text/javascript">
|
|
|
12 |
dojo.require("dojox.layout.BorderContainer");
|
|
|
13 |
dojo.require("dijit.layout.ContentPane");
|
|
|
14 |
dojo.require("dijit.form.FilteringSelect");
|
|
|
15 |
dojo.require("dojo.parser"); // scan page for widgets and instantiate them
|
|
|
16 |
</script>
|
|
|
17 |
<style type="text/css">
|
|
|
18 |
@import "../../../dojo/resources/dojo.css";
|
|
|
19 |
@import "../css/dijitTests.css";
|
|
|
20 |
</style>
|
|
|
21 |
</head>
|
|
|
22 |
<body>
|
|
|
23 |
<h2>dojox.layout.BorderContainer tests</h2>
|
|
|
24 |
<p>Basic layout</p>
|
|
|
25 |
|
|
|
26 |
<div dojoType="dojox.layout.BorderContainer"
|
|
|
27 |
style="border: 2px solid black; width: 90%; height: 300px; padding: 10px;"
|
|
|
28 |
>
|
|
|
29 |
<div dojoType="dijit.layout.ContentPane" position="left" style="background-color: #acb386; width: 100px;">
|
|
|
30 |
left
|
|
|
31 |
</div>
|
|
|
32 |
<div dojoType="dijit.layout.ContentPane" position="right" style="background-color: #acb386; width: 100px;">
|
|
|
33 |
right
|
|
|
34 |
</div>
|
|
|
35 |
<div dojoType="dijit.layout.ContentPane" position="top" style="background-color: #b39b86; height: 100px;">
|
|
|
36 |
top bar
|
|
|
37 |
</div>
|
|
|
38 |
<div dojoType="dijit.layout.ContentPane" position="bottom" style="background-color: #b39b86; height: 100px;">
|
|
|
39 |
bottom bar
|
|
|
40 |
</div>
|
|
|
41 |
<div dojoType="dijit.layout.ContentPane" position="center" style="background-color: #f5ffbf; padding: 10px;">
|
|
|
42 |
main panel with <a href="http://www.dojotoolkit.org/">a link</a>.<br />
|
|
|
43 |
(to check we're copying children around properly).<br />
|
|
|
44 |
<select dojoType="dijit.form.FilteringSelect">
|
|
|
45 |
<option value="1">foo</option>
|
|
|
46 |
<option value="2">bar</option>
|
|
|
47 |
<option value="3">baz</option>
|
|
|
48 |
</select>
|
|
|
49 |
Here's some text that comes AFTER the combo box.
|
|
|
50 |
</div>
|
|
|
51 |
</div>
|
|
|
52 |
|
|
|
53 |
</body>
|
|
|
54 |
</html>
|