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>ScrollablePane</title> |
---|
8 | |
---|
9 | <script type="text/javascript" src="../deviceTheme.js" data-dojo-config="mblThemeFiles: ['base','ScrollablePane']"></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 | "dojo/_base/connect", |
---|
15 | "dojo/dom", |
---|
16 | "dojo/dom-class", |
---|
17 | "dojo/ready", |
---|
18 | "dijit/registry", |
---|
19 | "dojox/mobile/parser", |
---|
20 | "dojox/mobile", |
---|
21 | "dojox/mobile/ScrollablePane", |
---|
22 | "dojox/mobile/compat" |
---|
23 | ], function(connect, dom, domClass, ready, registry){ |
---|
24 | }); |
---|
25 | </script> |
---|
26 | |
---|
27 | <style> |
---|
28 | .mblScrollablePane { |
---|
29 | background-color: yellow; |
---|
30 | color: black; |
---|
31 | } |
---|
32 | </style> |
---|
33 | </head> |
---|
34 | <body style="visibility:hidden;"> |
---|
35 | <div id="view1" data-dojo-type="dojox.mobile.View" style="height:100px"> |
---|
36 | <div id="pane1" data-dojo-type="dojox.mobile.ScrollablePane" data-dojo-props='height:"inherit"'> |
---|
37 | hello<br> |
---|
38 | hello<br> |
---|
39 | hello<br> |
---|
40 | hello<br> |
---|
41 | hello<br> |
---|
42 | hello<br> |
---|
43 | hello<br> |
---|
44 | hello<br> |
---|
45 | hello<br> |
---|
46 | hello<br> |
---|
47 | hello<br> |
---|
48 | hello<br> |
---|
49 | </div> |
---|
50 | </div> |
---|
51 | </body> |
---|
52 | </html> |
---|
Note: See
TracBrowser
for help on using the repository browser.