5 <meta name="viewport" content="width=device-width, initial-scale=1">
6 <title>jQuery Mobile Docs - Page</title>
7 <link rel="stylesheet" href="../../css/themes/default/jquery.mobile.css" />
8 <link rel="stylesheet" href="../_assets/css/jqm-docs.css"/>
10 <script src="../../js/jquery.js"></script>
11 <script src="../../docs/_assets/js/jqm-docs.js"></script>
12 <script src="../../js/"></script>
19 <div data-role="page" id="page-success" data-dom-cache="true"><!-- page-->
20 <div data-role="header" data-theme="a">
22 </div><!-- /header -->
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>
28 <form action="#" method="get">
29 <h2>Here's a few form elements</h2>
31 <p>These are here to see if this slows down rendering.</p>
33 <div data-role="fieldcontain">
34 <label for="name">Text Input:</label>
35 <input type="text" name="name" id="name" value="" />
38 <div data-role="fieldcontain">
39 <label for="textarea">Textarea:</label>
40 <textarea cols="40" rows="8" name="textarea" id="textarea"></textarea>
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>
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" />
58 <a href="docs-transitions.html" data-role="button" data-theme="b" data-rel="back" data-inline="true">Take me back</a>
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="" />
66 </div><!-- /footer -->