source: Dev/trunk/src/client/dojox/mobile/tests/test_GridLayout-change.html

Last change on this file was 483, checked in by hendrikvanantwerpen, 11 years ago

Added Dojo 1.9.3 release.

File size: 1.8 KB
Line 
1<!DOCTYPE html>
2<html>
3<head>
4        <meta http-equiv="Content-type" content="text/html; charset=utf-8"/>
5        <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"/>
6        <meta name="apple-mobile-web-app-capable" content="yes"/>
7        <title>GridLayout</title>
8
9        <script type="text/javascript" src="../deviceTheme.js" data-dojo-config="mblThemeFiles: ['base','Button','GridLayout']"></script>
10        <script type="text/javascript" src="../../../dojo/dojo.js" data-dojo-config="async: true, parseOnLoad: true"></script>
11
12        <script type="text/javascript">
13                require([
14                        "dojox/mobile/parser",
15                        "dojox/mobile",
16                        "dojox/mobile/compat",
17                        "dojox/mobile/ScrollableView",
18                        "dojox/mobile/GridLayout",
19                        "dojox/mobile/Pane",
20                        "dojox/mobile/Button"
21                ]);
22        </script>
23        <style>
24                .mblButton {
25                        width: 150px;
26                        height: 100px;
27                }
28        </style>
29</head>
30<body style="visibility:hidden;">
31        <div id="view1" data-dojo-type="dojox.mobile.ScrollableView">
32                <div data-dojo-type="dojox.mobile.GridLayout">
33                        <div data-dojo-type="dojox.mobile.Pane"><button class="mblBlueButton" data-dojo-type="dojox.mobile.Button">Button 1</button></div>
34                        <div data-dojo-type="dojox.mobile.Pane"><button class="mblBlueButton" data-dojo-type="dojox.mobile.Button">Button 2</button></div>
35                        <div data-dojo-type="dojox.mobile.Pane"><button class="mblBlueButton" data-dojo-type="dojox.mobile.Button">Button 3</button></div>
36                        <div data-dojo-type="dojox.mobile.Pane"><button class="mblBlueButton" data-dojo-type="dojox.mobile.Button">Button 4</button></div>
37                        <div data-dojo-type="dojox.mobile.Pane"><button class="mblBlueButton" data-dojo-type="dojox.mobile.Button">Button 5</button></div>
38                        <div data-dojo-type="dojox.mobile.Pane"><button class="mblBlueButton" data-dojo-type="dojox.mobile.Button">Button 6</button></div>
39                </div>
40        </div>
41</body>
42</html>
43
Note: See TracBrowser for help on using the repository browser.