Revert "Export"
[platform/framework/web/web-ui-fw.git] / libs / js / jquery-mobile-1.1.0 / docs / pages / page-transitions-page.html
1 <!DOCTYPE html>
2 <html>
3         <head>
4         <meta charset="utf-8">
5         <meta name="viewport" content="width=device-width, initial-scale=1">
6         <title>jQuery Mobile Framework - Page</title>
7         <link rel="stylesheet"  href="../../css/themes/default/jquery.mobile.css" />
8         <link rel="stylesheet" href="../_assets/css/jqm-docs.css"/>
9
10         <script src="../../js/jquery.js"></script>
11         <script src="../../docs/_assets/js/jqm-docs.js"></script>
12         <script src="../../js/"></script>
13
14 </head>
15 <body>
16
17         
18         
19         <div data-role="page" id="page-success" data-dom-cache="true"><!-- page-->
20                 <div data-role="header" data-theme="a">
21                         <h1>Page</h1>
22                 </div><!-- /header -->
23
24                 <div data-role="content" data-theme="d">
25                         <p>That was an animated page transition effect to a page that we added with a <code>data-transition</code> attribute on the link. This uses a different background theme swatch to see how that looks with the transitions.</p>
26                         <p>Since it uses CSS animations, this should be hardware accelerated on many devices. To see transitions, 3D transform support is required so if you only saw a fade transition that's the reason.</p>
27                                 
28                         <form action="#" method="get">
29                                 <h2>Here's a few form elements</h2>
30
31                                 <p>These are here to see if this slows down rendering.</p>
32
33                                 <div data-role="fieldcontain">
34                          <label for="name">Text Input:</label>
35                          <input type="text" name="name" id="name" value=""  />
36                                 </div>
37
38                                 <div data-role="fieldcontain">
39                                 <label for="textarea">Textarea:</label>
40                                 <textarea cols="40" rows="8" name="textarea" id="textarea"></textarea>
41                                 </div>
42
43                                 <div data-role="fieldcontain">
44                                         <label for="slider2">Flip switch:</label>
45                                         <select name="slider2" id="slider2" data-role="slider">
46                                                 <option value="off">Off</option>
47                                                 <option value="on">On</option>
48                                         </select>
49                                 </div>
50
51                                 <div data-role="fieldcontain">
52                                         <label for="slider">Slider:</label>
53                                         <input type="range" name="slider" id="slider" value="0" min="0" max="100" data-highlight="true" />
54                                 </div>
55                                                 
56                         </form>
57                         
58                         <a href="docs-transitions.html" data-role="button" data-theme="b" data-rel="back" data-inline="true">Take me back</a>   
59                 </div>
60                 
61                 <div data-role="footer" data-theme="d">
62                         <div style="margin:5px 10px;"><!-- To add a bit of spacing -->
63                         <label for="search" class="ui-hidden-accessible">Search:</label>
64                 <input type="search" name="password" id="search" placeholder="Search..." value="" />
65                         </div>
66                 </div><!-- /footer -->
67         </div>
68 </body>
69 </html>