Page 2 of 2

Navigate To Page: Use Full Screen Refresh

Posted: Sat Apr 13, 2013 4:49 am
by maxkatz

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.


Navigate To Page: Use Full Screen Refresh

Posted: Sat Apr 13, 2013 12:37 pm
by Sean Kelley

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
}
);


Navigate To Page: Use Full Screen Refresh

Posted: Sat Apr 13, 2013 1:48 pm
by Igor

Please look at next function http://api.jquerymobile.com/jQuery.mo....


Navigate To Page: Use Full Screen Refresh

Posted: Sat Apr 13, 2013 4:44 pm
by maxkatz

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