| 1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" |
| 2 |
"http://www.w3.org/TR/html4/strict.dtd"> |
| 3 |
<html lang="en"> |
| 4 |
<head> |
| 5 |
<title>dojox.layout.ExpandoPane</title> |
| 6 |
|
| 7 |
|
| 8 |
<link rel="stylesheet" id="themeStyles" href="../../../dijit/themes/tundra/tundra.css"> |
| 9 |
|
| 10 |
<link rel="stylesheet" href="../resources/ExpandoPane.css"> |
| 11 |
<link rel="stylesheet" href="../../../dijit/tests/css/dijitTests.css"> |
| 12 |
|
| 13 |
|
| 14 |
<script type="text/javascript" src="../../../dojo/dojo.js" data-dojo-config="isDebug:true, parseOnLoad: true"></script> |
| 15 |
|
| 16 |
<script type="text/javascript"> |
| 17 |
dojo.require("dijit.layout.ContentPane"); |
| 18 |
dojo.require("dijit.layout.BorderContainer"); |
| 19 |
dojo.require("dojox.layout.ExpandoPane"); |
| 20 |
</script> |
| 21 |
</head> |
| 22 |
<body class="tundra" role="main"> |
| 23 |
|
| 24 |
<h1>Testing splitters on ExpandoPanes</h1> |
| 25 |
|
| 26 |
<h2>splitter="true":</h2> |
| 27 |
<div dojoType="dijit.layout.BorderContainer" style="height:275px; border: solid #ccc 1px;"> |
| 28 |
<div dojoType="dojox.layout.ExpandoPane" splitter="true" title="leftTest" region="left" maxWidth="175" style="width:175px; background:red"> |
| 29 |
foo |
| 30 |
</div> |
| 31 |
<div dojoType="dijit.layout.ContentPane" region="center" href="_lorem.html"></div> |
| 32 |
</div> |
| 33 |
|
| 34 |
<h2>splitter="false":</h2> |
| 35 |
<div dojoType="dijit.layout.BorderContainer" style="height:275px; border: solid #ccc 1px;"> |
| 36 |
<div dojoType="dojox.layout.ExpandoPane" splitter="false" title="leftTest" region="left" maxWidth="175" style="width:175px; background:red"> |
| 37 |
foo |
| 38 |
</div> |
| 39 |
<div dojoType="dijit.layout.ContentPane" region="center" href="_lorem.html"></div> |
| 40 |
</div> |
| 41 |
|
| 42 |
<h2>Splitter not specified:</h2> |
| 43 |
<div dojoType="dijit.layout.BorderContainer" style="height:275px; border: solid #ccc 1px;"> |
| 44 |
<div dojoType="dojox.layout.ExpandoPane" title="leftTest" region="left" maxWidth="175" style="width:175px; background:red"> |
| 45 |
foo |
| 46 |
</div> |
| 47 |
<div dojoType="dijit.layout.ContentPane" region="center" href="_lorem.html"></div> |
| 48 |
</div> |
| 49 |
|
| 50 |
</body> |
| 51 |
</html> |
| 52 |
|