Debian Codegraph @

dojox/widget/tests/test_PortletInGridContainerColumns.html

raw symbols SCIP
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd">
3 <html>
4 <head>
5 <title>DojoX Portlet In a GridContainer: Using specific columns test</title>
6
7 <!-- required: a default theme file -->
8 <link rel="stylesheet" id="themeStyles" href="../../../dijit/themes/soria/soria.css">
9
10 <style type="text/css">
11 @import "../../../dojo/resources/dojo.css";
12 @import "../../../dijit/tests/css/dijitTests.css";
13
14 @import "../Portlet/Portlet.css";
15 @import "../../layout/resources/GridContainer.css";
16
17 .dj_ie6 .dropIndicator, .dj_ie6 .dojoxPortlet{
18 margin: 5px;
19 }
20 .gridContainerZone > *{
21 margin: 5px !important;
22 }
23 </style>
24
25 <!-- required: dojo.js -->
26 <script type="text/javascript" src="../../../dojo/dojo.js" data-dojo-config="isDebug:false, parseOnLoad: true"></script>
27
28 <!-- do not use! only for testing dynamic themes -->
29 <script type="text/javascript" src="../../../dijit/tests/_testCommon.js"></script>
30
31 <script type="text/javascript">
32 dojo.require("dojox.layout.GridContainer");
33 dojo.require("dojox.widget.Portlet");
34 </script>
35 </head>
36 <body class="soria">
37 <h1>Test inserting Portlets in specific GridContainer columns</h1>
38 <div>
39 This page tests the inserting of Portlets into specific columns of the GridContainer.
40 To do this, each Portlet must be assigned a "column" attribute, and the "isAutoOrganized"
41 attribute of the GridContainer must be set to false.
42 </div>
43 <div dojoType="dojox.layout.GridContainer"
44 id="gridContainer"
45 isAutoOrganized="false"
46 hasResizableColumns="false"
47 nbZones="3"
48 dragHandleClass="dijitTitlePaneTitle"
49 style="width:100%;"
50 doLayout="false"
51 >
52 <div dojoType="dojox.widget.Portlet" title="First Col, top" column="1">
53 This Portlet is placed in Column 1
54 </div>
55
56 <div dojoType="dojox.widget.Portlet" title="First Col, middle" column="1">
57 This Portlet is placed in Column 1
58 </div>
59
60 <div dojoType="dojox.widget.Portlet" title="First Col, bottom" column="1">
61 This Portlet is placed in Column 1
62 </div>
63
64 <div dojoType="dojox.widget.Portlet" title="Second Col, top" column="2">
65 This Portlet is placed in Column 2
66 </div>
67
68 <div dojoType="dojox.widget.Portlet" title="Third Col, top" column="3">
69 This Portlet is placed in Column 3
70 </div>
71
72 <div dojoType="dojox.widget.Portlet" title="Third Col, bottom" column="3">
73 This Portlet is placed in Column 3
74 </div>
75
76 </div>
77 </body>
78 </html>