Skip to content

Commit 639dd4c

Browse files
committed
Removed the bottom set of transition test buttons as these were mainly there for development testing, tweaked language and test page footer
1 parent 4361199 commit 639dd4c

File tree

1 file changed

+5
-56
lines changed

1 file changed

+5
-56
lines changed

docs/pages/page-transitions.html

Lines changed: 5 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ <h2>Page transitions</h2>
8686
</table>
8787

8888

89-
<p><strong>NOTE</strong>: To view all transition types, you must be on a browser that supports 3D transforms. By default, devices that lack 3D support will fallback to "fade" for all transition types. This behavior is configurable (see below).</p>
89+
<p><strong>Only seeing fade transitions?</strong> To view all transition types, you must be on a browser that supports 3D transforms. By default, devices that lack 3D support (such as Android 2.x) will fallback to "fade" for all transition types. This behavior is configurable (see below).</p>
9090

9191
<p><strong>Transitions were originally inspired by <a href="http://www.jqtouch.com/">jQtouch</a></strong> They've since been rebuilt, but props to David Kaneda and Jonathan Stark for the initial guidance.</p>
9292

@@ -124,58 +124,7 @@ <h2>Creating custom transitions</h2>
124124

125125
<p>jQuery Mobile allows for the addition of <a href="page-customtransitions.html">custom transitions</a> to the <code>$.mobile.transitionHandlers</code> dictionary so you can expand the selection of transitions on your site or app.
126126

127-
<h2>Transitions and scroll position</h2>
128-
<p>One of the key things jQuery Mobile does is store your scroll position before starting a transition so it can restore you to the same place once you return to the page when hitting the Back button or closing a dialog. Here are the same buttons from the top to test the scrolling logic.</p>
129-
130-
131-
<table>
132-
<tr>
133-
<th><h3>fade</h3></th>
134-
<td><a href="#dialog-success" data-role="button" data-rel="dialog" data-transition="fade" data-inline="true">dialog</a></td>
135-
<td><a href="#page-success" data-role="button" data-transition="fade" data-inline="true">page</a></td>
136-
</tr>
137-
<tr>
138-
<th><h3>pop</h3></th>
139-
<td><a href="#dialog-success" data-role="button" data-rel="dialog" data-transition="pop" data-inline="true">dialog</a></td>
140-
<td><a href="#page-success" data-role="button" data-transition="pop" data-inline="true">page</a></td>
141-
</tr>
142-
<tr>
143-
<th><h3>flip</h3></th>
144-
<td><a href="#dialog-success" data-role="button" data-rel="dialog" data-transition="flip" data-inline="true">dialog</a></td>
145-
<td><a href="#page-success" data-role="button" data-transition="flip" data-inline="true">page</a></td>
146-
</tr>
147-
<tr>
148-
<th><h3>turn</h3></th>
149-
<td><a href="#dialog-success" data-role="button" data-rel="dialog" data-transition="turn" data-inline="true">dialog</a></td>
150-
<td><a href="#page-success" data-role="button" data-transition="turn" data-inline="true">page</a></td>
151-
</tr>
152-
<tr>
153-
<th><h3>flow</h3></th>
154-
<td><a href="#dialog-success" data-role="button" data-rel="dialog" data-transition="flow" data-inline="true">dialog</a></td>
155-
<td><a href="#page-success" data-role="button" data-transition="flow" data-inline="true">page</a></td>
156-
</tr>
157-
<tr>
158-
<th><h3>slide</h3></th>
159-
<td><a href="#dialog-success" data-role="button" data-rel="dialog" data-transition="slide" data-inline="true">dialog</a></td>
160-
<td><a href="#page-success" data-role="button" data-transition="slide" data-inline="true">page</a></td>
161-
</tr>
162-
<tr>
163-
<th><h3>slideup</h3></th>
164-
<td><a href="#dialog-success" data-role="button" data-rel="dialog" data-transition="slideup" data-inline="true">dialog</a></td>
165-
<td><a href="#page-success" data-role="button" data-transition="slideup" data-inline="true">page</a></td>
166-
</tr>
167-
<tr>
168-
<th><h3>slidedown</h3></th>
169-
<td><a href="#dialog-success" data-role="button" data-rel="dialog" data-transition="slidedown" data-inline="true">dialog</a></td>
170-
<td><a href="#page-success" data-role="button" data-transition="slidedown" data-inline="true">page</a></td>
171-
</tr>
172-
<tr>
173-
<th><h3>none</h3></th>
174-
<td><a href="#dialog-success" data-role="button" data-rel="dialog" data-transition="none" data-inline="true">dialog</a></td>
175-
<td><a href="#page-success" data-role="button" data-rel="dialog" data-transition="none" data-inline="true">page</a></td>
176-
</tr>
177-
</table>
178-
127+
179128

180129

181130

@@ -268,20 +217,20 @@ <h2>Here's a few form elements</h2>
268217

269218
<div data-role="fieldcontain">
270219
<label for="slider">Slider:</label>
271-
<input type="range" name="slider" id="slider" value="0" min="0" max="100" />
220+
<input type="range" name="slider" id="slider" value="0" min="0" max="100" data-highlight="true" />
272221
</div>
273222

274223
</form>
275224

276225
<a href="docs-transitions.html" data-role="button" data-theme="b" data-rel="back" data-inline="true">Take me back</a>
277226
</div>
278227

279-
<div data-role="header" data-theme="d">
228+
<div data-role="footer" data-theme="d">
280229
<div style="margin:5px 10px;"><!-- To add a bit of spacing -->
281230
<label for="search" class="ui-hidden-accessible">Search:</label>
282231
<input type="search" name="password" id="search" placeholder="Search..." value="" />
283232
</div>
284-
</div><!-- /header -->
233+
</div><!-- /footer -->
285234
</div>
286235

287236
</body>

0 commit comments

Comments
 (0)