| 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>Standard Transitions</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, mblCSS3Transition: 'dojox/css3/transit'"></script> |
| 11 | |
| 12 | <script type="text/javascript"> |
| 13 | require([ |
| 14 | "dojox/mobile/parser", |
| 15 | "dojox/mobile", |
| 16 | "dojox/mobile/compat" |
| 17 | ]); |
| 18 | </script> |
| 19 | |
| 20 | <style> |
| 21 | html,body { |
| 22 | height: 100%; |
| 23 | overflow: hidden; |
| 24 | } |
| 25 | .mblRoundRectCategory { |
| 26 | color: black; |
| 27 | text-shadow: rgba(192,192,192,1) 1px 1px 0px; |
| 28 | } |
| 29 | </style> |
| 30 | </head> |
| 31 | <body style="visibility:hidden;"> |
| 32 | <div id="view1" data-dojo-type="dojox.mobile.View" style="background-color:#855AA0;height:100%;"> |
| 33 | <h1 data-dojo-type="dojox.mobile.Heading" data-dojo-props='back:"Top", href:"test_new_transition-animations.html", transition:"none"' style="background: -webkit-gradient(linear, left top, left bottom, from(#CDB0BC), to(#A26D84), color-stop(0.5, #B3889B), color-stop(0.5, #AF8195));">View 1</h1> |
| 34 | <h2 data-dojo-type="dojox.mobile.RoundRectCategory">Standard Transitions</h2> |
| 35 | <ul data-dojo-type="dojox.mobile.RoundRectList"> |
| 36 | <li data-dojo-type="dojox.mobile.ListItem" data-dojo-props='icon:"images/i-icon-9.png", moveTo:"view2", transition:"slide"'> |
| 37 | Slide |
| 38 | </li> |
| 39 | <li data-dojo-type="dojox.mobile.ListItem" data-dojo-props='icon:"images/i-icon-2.png", moveTo:"view3", transition:"slide", transitionDir:-1'> |
| 40 | Slide (Reverse) |
| 41 | </li> |
| 42 | <li data-dojo-type="dojox.mobile.ListItem" data-dojo-props='icon:"images/i-icon-3.png", moveTo:"view2", transition:"flip"'> |
| 43 | Flip |
| 44 | </li> |
| 45 | <li data-dojo-type="dojox.mobile.ListItem" data-dojo-props='icon:"images/i-icon-1.png", moveTo:"view2", transition:"fade"'> |
| 46 | Fade |
| 47 | </li> |
| 48 | </ul> |
| 49 | </div> |
| 50 | |
| 51 | <div id="view2" data-dojo-type="dojox.mobile.View" style="background-color:#009BB9;height:100%;"> |
| 52 | <h1 data-dojo-type="dojox.mobile.Heading" data-dojo-props='back:"Top", href:"test_new_transition-animations.html", transition:"none"'>View 2</h1> |
| 53 | <h2 data-dojo-type="dojox.mobile.RoundRectCategory">Standard Transitions</h2> |
| 54 | <ul data-dojo-type="dojox.mobile.RoundRectList"> |
| 55 | <li data-dojo-type="dojox.mobile.ListItem" data-dojo-props='moveTo:"view3", transition:"slide"'> |
| 56 | Slide |
| 57 | </li> |
| 58 | <li data-dojo-type="dojox.mobile.ListItem" data-dojo-props='moveTo:"view1", transition:"slide", transitionDir:-1'> |
| 59 | Slide (Reverse) |
| 60 | </li> |
| 61 | <li data-dojo-type="dojox.mobile.ListItem" data-dojo-props='moveTo:"view3", transition:"flip"'> |
| 62 | Flip |
| 63 | </li> |
| 64 | <li data-dojo-type="dojox.mobile.ListItem" data-dojo-props='moveTo:"view3", transition:"fade"'> |
| 65 | Fade |
| 66 | </li> |
| 67 | </ul> |
| 68 | </div> |
| 69 | |
| 70 | <div id="view3" data-dojo-type="dojox.mobile.View" style="background-color:#FFCC00;height:100%;"> |
| 71 | <h1 data-dojo-type="dojox.mobile.Heading" data-dojo-props='back:"Top", href:"test_new_transition-animations.html", transition:"none"' style="background: -webkit-gradient(linear, left top, left bottom, from(#B0CDBC), to(#6DA284), color-stop(0.5, #88B39B), color-stop(0.5, #81AF95));">View 3</h1> |
| 72 | <h2 data-dojo-type="dojox.mobile.RoundRectCategory">Standard Transitions</h2> |
| 73 | <ul data-dojo-type="dojox.mobile.RoundRectList"> |
| 74 | <li data-dojo-type="dojox.mobile.ListItem" data-dojo-props='icon:"images/i-icon-1.png", moveTo:"view1", transition:"slide"'> |
| 75 | Slide |
| 76 | </li> |
| 77 | <li data-dojo-type="dojox.mobile.ListItem" data-dojo-props='icon:"images/i-icon-1.png", moveTo:"view2", transition:"slide", transitionDir:-1'> |
| 78 | Slide (Reverse) |
| 79 | </li> |
| 80 | <li data-dojo-type="dojox.mobile.ListItem" data-dojo-props='icon:"images/i-icon-2.png", moveTo:"view1", transition:"flip"'> |
| 81 | Flip |
| 82 | </li> |
| 83 | <li data-dojo-type="dojox.mobile.ListItem" data-dojo-props='icon:"images/i-icon-3.png", moveTo:"view1", transition:"fade"'> |
| 84 | Fade |
| 85 | </li> |
| 86 | </ul> |
| 87 | </div> |
| 88 | |
| 89 | </body> |
| 90 | </html> |