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

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -