reload #_TheBeatles - reloads the correct page, but the backButton will return you directly to #_home rather than #_artists.
Speaking about that, i was thinking about a way to store iUI History array as a localStorage string that could be re-populate onload so backButton, even when reloading, could slides back to a previous screen (if exists, otherwise it would go the last existing previous one) Thoughts ? Remi On Fri, Mar 23, 2012 at 2:57 AM, Sean Gilligan <msgilli...@gmail.com> wrote: > On 3/22/12 4:52 PM, sblair wrote: > >> I'm looking to see how to reload the current page within IUI. >> >> Basically when I refresh the page I'm on in IUI it always reverts back >> to the main app page. So, how can I get it to refresh the current >> page it has been navigated to? >> > > iUI should do that. Try it on the music app: > http://demo.iui-js.org/**samples/music/music.html<http://demo.iui-js.org/samples/music/music.html> > > There is one caveat though. iUI is not able to reconstruct a level 3+ > navigation path to the current view/page. > So in the music example: > reload #_home - works perfectly > reload #_artists - works perfectly > reload #_TheBeatles - reloads the correct page, but the backButton will > return you directly to #_home rather than #_artists. > > > > Also, how can I programmatically have the page reload itself. >> > > > location.reload(true); > > > -- Sean > > > -- > You received this message because you are subscribed to the Google Groups > "iPhoneWebDev" group. > To post to this group, send email to iphonewebdev@googlegroups.com. > To unsubscribe from this group, send email to iphonewebdev+unsubscribe@** > googlegroups.com <iphonewebdev%2bunsubscr...@googlegroups.com>. > For more options, visit this group at http://groups.google.com/** > group/iphonewebdev?hl=en<http://groups.google.com/group/iphonewebdev?hl=en> > . > > -- You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To post to this group, send email to iphonewebdev@googlegroups.com. To unsubscribe from this group, send email to iphonewebdev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en.