| 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 | Make sure that the input fields are focused when touched or clicked. |
| 37 | <div id="pane1" data-dojo-type="dojox.mobile.ScrollablePane" data-dojo-props='height:"inherit"'> |
| 38 | hello<br> |
| 39 | <input><br> |
| 40 | hello<br> |
| 41 | <input><br> |
| 42 | hello<br> |
| 43 | <input><br> |
| 44 | hello<br> |
| 45 | <input><br> |
| 46 | hello<br> |
| 47 | <input><br> |
| 48 | hello<br> |
| 49 | <input><br> |
| 50 | hello<br> |
| 51 | <input><br> |
| 52 | hello<br> |
| 53 | <input><br> |
| 54 | hello<br> |
| 55 | <input><br> |
| 56 | hello<br> |
| 57 | <input><br> |
| 58 | hello<br> |
| 59 | <input><br> |
| 60 | hello<br> |
| 61 | </div> |
| 62 | </div> |
| 63 | </body> |
| 64 | </html> |