Debian Codegraph @

dojox/widget/tests/test_Pager.html

raw symbols SCIP
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <html>
3 <head>
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5 <title>Testing the DataPager</title>
6 <style type="text/css">
7 @import "../../../dijit/themes/tundra/tundra.css";
8 @import "../../../dijit/tests/css/dijitTests.css";
9 @import "../Pager/Pager.css";
10 </style>
11
12 <script type="text/javascript" src="../../../dojo/dojo.js" data-dojo-config="parseOnLoad:true, isDebug: true"></script>
13 <script type="text/javascript" src="../../../dijit/tests/_testCommon.js"></script>
14
15 <script type="text/javascript">
16 dojo.require("dojo.data.ItemFileReadStore");
17 dojo.require("dojox.widget.Pager");
18 </script>
19
20 <style type="text/css">
21 body {
22 font-family: Arial;
23 }
24
25 ol li, ul li {
26 font-size:1em;
27 line-height:1.5em;
28 margin:0;
29 }
30 #result {
31 font-size: 12px;
32 margin-bottom: 15px;
33 }
34 </style>
35 </head>
36 <body class="tundra">
37
38 <h1 class="testTitle">dojox.widget.Pager</h1>
39
40 <div style="clear: both" id="result">Click on one of the menu items</div>
41
42 <!-- the datastore -->
43 <div dojoType="dojo.data.ItemFileReadStore" data-dojo-id="pagerStore" id="pagerStore" url="_pager-data.json"></div>
44
45 <h2>Horizontal</h2>
46
47 <div style="padding:8px">
48 <div dojoType="dojox.widget.Pager" id="dojoxMenu1"
49 store="pagerStore" style="width: 410px; height: 150px"></div>
50 </div>
51 <div style="padding:8px">
52 <div dojoType="dojox.widget.Pager" id="dojoxMenu2" itemsPage="4"
53 store="pagerStore" statusPos="trailing" style="width: 410px; height: 150px"></div>
54 </div>
55 <div style="padding:8px">
56 <div dojoType="dojox.widget.Pager" id="dojoxMenu1s" store="pagerStore" pagerPos="none"
57 style="width: 410px; height: 150px"></div>
58 </div>
59 <div style="padding:8px">
60 <div dojoType="dojox.widget.Pager" id="dojoxMenu2s" itemsPage="4" pagerPos="none"
61 store="pagerStore" statusPos="trailing" style="width: 410px; height: 150px"></div>
62 </div>
63
64 <h2>Vertical</h2>
65
66 <div style="padding:8px; float:left;">
67 <div dojoType="dojox.widget.Pager" id="dojoxMenu3" itemsPage="2" orientation="vertical"
68 store="pagerStore" style="width: 150px; height: 400px"></div>
69 </div>
70 <div style="padding:8px; float:left;">
71 <div dojoType="dojox.widget.Pager" id="dojoxMenu4" itemsPage="5" orientation="vertical"
72 statusPos="trailing" store="pagerStore" style="width: 150px; height: 600px"></div>
73 </div>
74 <div style="padding:8px;float:left;">
75 <div dojoType="dojox.widget.Pager" id="dojoxMenus3" itemsPage="2" pagerPos="none"
76 orientation="vertical" store="pagerStore" style="width: 150px; height: 400px"></div>
77 </div>
78 <div style="padding:8px; float:left;">
79 <div dojoType="dojox.widget.Pager" id="dojoxMenus4" itemsPage="5" pagerPos="none"
80 orientation="vertical" statusPos="trailing" store="pagerStore" style="width: 150px; height: 600px"></div>
81 </div>
82
83 <div style="clear: both" id="result2">That's all folks.</div>
84
85 </body>
86 </html>