| 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>Progress Indicator - size</title> |
| 8 | |
| 9 | <script type="text/javascript" src="../deviceTheme.js" data-dojo-config="mblThemeFiles: ['base']"></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/window", |
| 15 | "dojo/ready", |
| 16 | "dojox/mobile/ProgressIndicator", |
| 17 | "dojox/mobile/parser", |
| 18 | "dojox/mobile", |
| 19 | "dojox/mobile/compat" |
| 20 | ], function(win, ready, ProgressIndicator){ |
| 21 | ready(function(){ |
| 22 | var prog1 = new ProgressIndicator({size:80, center:false}); |
| 23 | win.body().appendChild(prog1.domNode); |
| 24 | prog1.start(); |
| 25 | |
| 26 | var prog2 = new ProgressIndicator({size:40, center:false}); |
| 27 | win.body().appendChild(prog2.domNode); |
| 28 | prog2.start(); |
| 29 | |
| 30 | var prog3 = new ProgressIndicator({size:20, center:false}); |
| 31 | win.body().appendChild(prog3.domNode); |
| 32 | prog3.start(); |
| 33 | }); |
| 34 | }); |
| 35 | </script> |
| 36 | </head> |
| 37 | <body style="visibility:hidden;"> |
| 38 | <div data-dojo-type="dojox.mobile.ProgressIndicator" startSpinning="true" size="120" center="false"></div> |
| 39 | <div data-dojo-type="dojox.mobile.ProgressIndicator" startSpinning="true"></div> |
| 40 | </body> |
| 41 | </html> |