JQuery Mobile: data-direction="reverse" not emulating initial transition -


i have button in header looks like:

<a href="index.html" data-role="button" data-direction="reverse" data-icon="arrow-l" data-iconpos="left">back</a> 

the transition page slide and, according documentation, adding data-direction="reverse" button should 'reverse' transition got me page, ie: previous page should slide back. however, seems stuck on default fade transition. there have done wrong in setting button up? should have different kind of href?

try adding this:

data-rel="back"  <a href="/" data-icon="back" data-rel="back" data-direction="reverse">back</a> 

also think in order "reverse" work must reference exact previous url/page. if page1 "/" went page2 , on page2 have href="index.html" won't work.


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -