1

By default jQuery Mobile transitions is set to "fade". I know i can add a transition to all links, but since I'm using the same transition "slide" for all pages is there a way that i don't have to data-transition="slide" to all links.

4

1 回答 1

1

Insert this on your head tag:

<script>    
    $.mobile.defaultPageTransition = 'slide';    
</script>
于 2012-08-30T09:05:47.887 回答