On Jan 16, 2008, at 4:09 AM, David Ethell wrote:
> > I searched the list for a while to see if anyone already has a > solution to my problem, but I didn't find one. > > I'd like to override the back button behavior in certain situations. > Instead of going back to the previous page I'd like to skip back to a > specific page. I've been able to add some attributes to the tag to > provide an override to the behavior such that if an override is in > place it will return to that specific page using iui.showPageById. > This works well as far as getting the desired page to load, but the > browser history is all messed up now so that clicking Back again from > the newly loaded page just goes back to where I started at the sub > page rather than to the parent of the page I went back to. > > iui is splicing its own pageHistory so that it will be correct if you > go back to a page several places back in the history, but of course > the javascript history object still has the history that I want to > drop off. > > Any ideas? I could of course just use innerhtml and replace the > contents of my present pages so that they bypass the iui paging > mechanism altogether and that's likely what I'll end up doing, but I > was hoping for something a little simpler using the main iui paging > functions. > > Thanks, > David > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en -~----------~----~----~----~------~----~------~--~---
