Updated
This commit is contained in:
84
master/examples/test_GridContainer_TitlePanes.html
Normal file
84
master/examples/test_GridContainer_TitlePanes.html
Normal file
@@ -0,0 +1,84 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
|
||||
<title>Demo GridContainer</title>
|
||||
|
||||
<style type="text/css" title="text/css">
|
||||
@import "../../../dojo/resources/dojo.css";
|
||||
@import "../../../dijit/themes/tundra/tundra.css";
|
||||
|
||||
html, body{
|
||||
margin:0;
|
||||
padding:1%;
|
||||
}
|
||||
.dijitTitlePane .gripNode {
|
||||
cursor: move;
|
||||
}
|
||||
|
||||
.dijitTitlePane .gripNode span {
|
||||
cursor: pointer;
|
||||
}
|
||||
.cpane{
|
||||
border:1px solid #666;
|
||||
font:bold 12px Arial;
|
||||
color:#666;
|
||||
background:#FFF;
|
||||
padding:10px;
|
||||
margin:2px;
|
||||
}
|
||||
|
||||
#GC1{
|
||||
height:600px;
|
||||
margin:10px;
|
||||
padding:2px;
|
||||
border:1px solid #ededed;
|
||||
overflow-x:hidden;
|
||||
overflow-y:auto;
|
||||
border-collapse:collapse;
|
||||
border : 1px solid #ededed;
|
||||
}
|
||||
|
||||
#GC1 .gridContainerTable {
|
||||
border-collapse:collapse;
|
||||
}
|
||||
</style>
|
||||
|
||||
<link rel="stylesheet" href="../resources/GridContainer.css">
|
||||
<link rel="stylesheet" href="../resources/DndGridContainer.css">
|
||||
|
||||
<script type="text/javascript" src="../../../dojo/dojo.js" djConfig="isDebug: true, parseOnLoad: true"></script>
|
||||
<script type="text/javascript" src="../../../dijit/tests/_testCommon.js"></script>
|
||||
<script type="text/javascript">
|
||||
dojo.require("dojo.parser");
|
||||
dojo.require("dijit.TitlePane");
|
||||
dojo.require("dojox.layout.GridContainer");
|
||||
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="tundra">
|
||||
|
||||
<h1 class="testTitle">Grid Container With Title Panes</h1>
|
||||
|
||||
<div>
|
||||
<div id="GC1" dojoType="dojox.layout.GridContainer"
|
||||
nbZones="3"
|
||||
opacity="0.7"
|
||||
allowAutoScroll="true"
|
||||
hasResizableColumns="false"
|
||||
withHandles="true"
|
||||
acceptTypes="TitlePane">
|
||||
<div dojoType="dijit.TitlePane" dndType="TitlePane" title="Title Pane 1">Title Pane 1<br><br><br><br><br>Some more content</div>
|
||||
<div dojoType="dijit.TitlePane" dndType="TitlePane" title="Title Pane 2">Title Pane 2<br><br><br><br><br>Some more content</div>
|
||||
<div dojoType="dijit.TitlePane" dndType="TitlePane" title="Title Pane 3">Title Pane 3<br><br><br><br><br>Some more content</div>
|
||||
<div dojoType="dijit.TitlePane" dndType="TitlePane" title="Title Pane 4">Title Pane 4<br><br><br><br><br>Some more content</div>
|
||||
<div dojoType="dijit.TitlePane" dndType="TitlePane" title="Ergo">
|
||||
Non ergo erunt homines deliciis diffluentes audiendi, si quando de amicitia, quam nec usu nec ratione habent cognitam, disputabunt. Nam quis est, pro deorum fidem atque hominum! qui velit, ut neque diligat quemquam nec ipse ab ullo diligatur, circumfluere omnibus copiis atque in omnium rerum abundantia vivere? Haec enim est tyrannorum vita nimirum, in qua nulla fides, nulla caritas, nulla stabilis benevolentiae potest esse fiducia, omnia semper suspecta atque sollicita, nullus locus amicitiae.
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user