android - JQueryMobile: does data-transition="slideback" or alike exist? -


when clicking on "home" button in menu, want page transition (data-transition="slide") in reverse move. does data-transition="slideback" exist ?

you can this:

$.mobile.changepage("help.html", {     reloadpage: true,     transition: "slide",     reverse: true }); 

you wanted effect.

working example: http://jsfiddle.net/gajotres/82ke9/

to test it, go second page , click button slide back.

or there's pure html solution:

<a href="#index" data-role="button"  data-direction="reverse" data-transition="slide">reverse slide - variant</a>  

Comments

Popular posts from this blog

ios - iPhone/iPad different view orientations in different views , and apple approval process -

monitor web browser programmatically in Android? -

c# - Using multiple datasets in RDLC -