| 1 |
<!DOCTYPE html> |
| 2 |
<html lang="en"> |
| 3 |
<head> |
| 4 |
<meta http-equiv="Content-type" content="text/html; charset=utf-8"> |
| 5 |
<title>dijit.layout.BorderContainer Test - Full Screen</title> |
| 6 |
|
| 7 |
<style type="text/css"> |
| 8 |
@import "../../../../dijit/themes/claro/document.css"; |
| 9 |
@import "../../../../dijit/tests/css/dijitTests.css"; |
| 10 |
|
| 11 |
html, body, #main{ |
| 12 |
width: 100%; /* make the body expand to fill the visible window */ |
| 13 |
height: 100%; |
| 14 |
overflow: hidden; /* erase window level scrollbars */ |
| 15 |
padding: 0 0 0 0; |
| 16 |
margin: 0 0 0 0; |
| 17 |
font: 10pt Arial,Myriad,Tahoma,Verdana,sans-serif; |
| 18 |
} |
| 19 |
</style> |
| 20 |
|
| 21 |
|
| 22 |
<link id="themeStyles" rel="stylesheet" href="../../../../dijit/themes/claro/claro.css"/> |
| 23 |
|
| 24 |
|
| 25 |
<script type="text/javascript" src="../../../../dojo/dojo.js" |
| 26 |
data-dojo-config="isDebug: true, parseOnLoad: true"></script> |
| 27 |
|
| 28 |
|
| 29 |
<script type="text/javascript" src="../../../../dijit/tests/_testCommon.js"></script> |
| 30 |
|
| 31 |
<script type="text/javascript"> |
| 32 |
dojo.require("dijit.dijit"); // optimize: load dijit layer |
| 33 |
dojo.require("dijit.layout.BorderContainer"); |
| 34 |
dojo.require("dijit.layout.ContentPane"); |
| 35 |
dojo.require("dijit.form.FilteringSelect"); |
| 36 |
</script> |
| 37 |
|
| 38 |
</head> |
| 39 |
<body class="claro" role="main"> |
| 40 |
<div id="main" data-dojo-type="dijit/layout/BorderContainer" data-dojo-props='design:"sidebar" '> |
| 41 |
<div data-dojo-type="dijit/layout/ContentPane" data-dojo-props='id:"main-leading", region:"leading", style:"background-color: #acb386; width: 100px;"'> |
| 42 |
leading |
| 43 |
</div> |
| 44 |
<div data-dojo-type="dijit/layout/ContentPane" data-dojo-props='id:"main-top", region:"top", style:"background-color: #b39b86; height: 100px;"'> |
| 45 |
top bar |
| 46 |
</div> |
| 47 |
<div data-dojo-type="dijit/layout/ContentPane" data-dojo-props='id:"main-center", region:"center", style:"background-color: #f5ffbf; padding: 10px;"'> |
| 48 |
main panel with <a href="http://www.dojotoolkit.org/">a link</a>.<br /> |
| 49 |
(to check we're copying children around properly).<br /> |
| 50 |
<select aria-label="select" data-dojo-type="dijit/form/FilteringSelect"> |
| 51 |
<option value="1">foo</option> |
| 52 |
<option value="2">bar</option> |
| 53 |
<option value="3">baz</option> |
| 54 |
</select> |
| 55 |
Here's some text that comes AFTER the combo box. |
| 56 |
</div> |
| 57 |
<div data-dojo-type="dijit/layout/ContentPane" data-dojo-props='id:"main-bottom", region:"bottom", style:"background-color: #b39b86; height: 100px;", splitter:true'> |
| 58 |
bottom bar |
| 59 |
</div> |
| 60 |
<div data-dojo-type="dijit/layout/ContentPane" data-dojo-props='id:"main-trailing", region:"trailing", style:"background-color: #acb386; width: 100px;", splitter:true'> |
| 61 |
trailing |
| 62 |
</div> |
| 63 |
</div> |
| 64 |
</body> |
| 65 |
</html> |