# jQuery Mobile Transitions

« Previous
Next Chapter »

jQuery Mobile includes CSS3 effects that lets you choose the way a page should open.

## jQuery Mobile Transition Effects

jQuery Mobile has a variety of effects for how to transition from one page to the next.

Note: To achieve the transition effect, the browser must support CSS3 3D Transforms:

12.0 | 10.0 | 16.0 | 4.0 | 15.0

The numbers in the table specify the first browser version that fully support 3D Transforms.

The transition effect can be applied to any link or form submission by using the data-transition attribute:

<a href="#anylink" data-transition="slide">Slide to Page Two</a>

The table below shows available transitions that can be used with the data-transition attribute for both pages and dialogs:

Transition | Description | For Pages | For Dialogs
--- | --- | --- | ---
fade | Default. Fades to the next page | Try it | Try it
flip | Flips to the next page from back to front | Try it | Try it
flow | Throws the current page away and comes in with the next page | Try it | Try it
pop | Goes to the next page like a popup window | Try it | Try it
slide | Slides to the next page from right to left | Try it | Try it
slidefade | Slides from right to left and fades in the next page | Try it | Try it
slideup | Slides to the next page from bottom to top | Try it | Try it
slidedown | Slides to the next page from top to bottom | Try it | Try it
turn | Turns to the next page | Try it | Try it
none | No transition effect | Try it | Try it

| The fading effect is default on all links in jQuery Mobile (if the browser support it).

Tip: All effects above also support reverse/backward actions, e.g. if you want the page to slide from left to right, instead of right to left, use the data-direction attribute with value "reverse".

## Example

<a href="#pagetwo" data-transition="slide" data-direction="reverse">Slide</a>
Try it yourself »
« Previous
Next Chapter »

### WEB HOSTING

UK Reseller Hosting

### WEB BUILDING

FREE Website BUILDER Free HTML5 Templates

### W3SCHOOLS EXAMS

HTML, CSS, JavaScript, PHP, jQuery, XML, and ASP Certifications

### SHARE THIS PAGE

### Color Picker

### HTML/CSS

HTML Tutorial HTML5 Tutorial CSS Tutorial CSS3 Tutorial Bootstrap Tutorial

### JavaScript

JavaScript Tutorial jQuery Tutorial jQuery Mobile Tutorial AngularJS Tutorial AJAX Tutorial JSON Tutorial

### Graphics

Canvas Tutorial SVG Tutorial Google Maps Tutorial

### Server Side

SQL Tutorial PHP Tutorial ASP Tutorial ASP.NET Tutorial VBScript Tutorial AppML Tutorial

### Web

Web Building Web Statistics Web Certification

### XML

XML Tutorial DTD Tutorial Schema Tutorial XML DOM Tutorial XPath Tutorial XSLT Tutorial XQuery Tutorial XSL-FO Tutorial RSS Tutorial WSDL Tutorial

### HTML/CSS

HTML Tag Reference HTML Event Reference HTML Color Reference CSS 1,2,3 Reference Bootstrap Reference

### JavaScript

JavaScript Reference HTML DOM Reference jQuery Reference jQuery Mobile Reference Google Maps Reference

### Server Side

PHP Reference SQL Reference ASP Reference VBScript Reference Razor Reference ASP.NET Reference

### XML

XML DOM Reference XSLT Reference XSL-FO Reference XPath Reference XQuery Reference Schema Reference RSS Reference SVG Reference

### HTML Charsets

HTML Character Sets HTML ASCII HTML ANSI HTML Windows-1252 HTML ISO-8859-1 HTML Symbols HTML UTF-8

### HTML/CSS

HTML Examples CSS Examples

### Browser Scripting

JavaScript Examples HTML DOM Examples jQuery Examples jQuery Mobile Examples AngularJS Examples AJAX Examples

### Server Scripting

PHP Examples ASP Examples VBScript Examples Razor Examples .NET Examples

### XML Languages

XML Examples DTD Examples XML DOM Examples XSL Examples XSLT Examples XPath Examples XQuery Examples Schema Examples RSS Examples SVG Examples