The browser will display a back button if there is history (a page to go back). If there is no history, the back button won't be active.
The browser will display a back button if there is history (a page to go back). If there is no history, the back button won't be active.
so it would seem that Tiggzi.navigateTo('myPage') removes the history. How to I either navigate to or reload my current page without loosing history?
Incidentally, I find a lot of references to jquery mobile changePage() but not navigateTo(). Is navigateTo() a Tiggzi thing but is the same as changePage()?
I tried the following changePage() idea but the page does not fully reload and does not generate an error either. It does not change the header and footer bar and only show a sliver of the background image and no page content.
$.mobile.changePage(
window.location.href,
{
allowSamePageTransition : true,
transition : 'none',
showLoadMsg : false,
reloadPage : true
}
);
Please look at next function http://api.jquerymobile.com/jQuery.mo....
Tiggzi doesn't remove the history (also, Tiggzi is the builder, your app simply runs in the browser).
Tiggzi.navigateTo(..) is a shortcut for the standard jQuery API:
code
$.mobile.changePage(...);
/code