Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Transitions

jQuery Mobile has several animated transitions that can be used when changing pages or displaying dialogs. These transitions are created using CSS 3 transforms, and so are only available on browsers that support that feature.

To specify a transition, apply the data-transition property to the link, as shown in Example 2-9. Valid values are:

fade: simply fade the page or dialog in over the previous content

flip: an animated page flip, rotating the current view out with the other view on the reverse side

pop: the page springs into view from the center of the screen

slide: slide in from the left or right, pushing previous content out of the way

slidedown: slide down from the top, over the top of the current content


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint