If it's a single page web app, ala RB's, I'd expect it to go to the previous page-- IOW, the page which launched the app. In that case nothing would have to be done to our translator at all! See, wasn't that easy? :-p
On Fri, Sep 23, 2011 at 1:50 PM, Richard Gaskin <[email protected]>wrote: > After thinking about the challenges of translating LC stacks into web > pages, I remembered another issues I've had to deal with in browsers that we > don't have to think about in LC: > > How do your app respond when the user clicks the browser's Back button? > > We have no universal "Back" message in LC; any navigation in our stacks is > entirely provided by and handled by our own code. > > But users expect a meaningful response when they click their Back button - > what will your app do? > > Should it always just bail out of the page entirely? > > In HTML, after you've click an in-page link, Back takes you back to the > last scroll position within the page where the link was present. So should > it handle a scroll reversal? Should that be a default behavior, and what > means should be provided to override it? > > It's not unrealistic (and indeed a specific request from a client) that we > design the web version of our LC-based app to revert back to a > previously-displayed content section (we hide and show a lot of divs, > generated from LC fields). > > What will your app do? > > If you hand-code that behavior, it will do whatever you like. > > But if you expect a meaningful response from an automated translator, your > users will likely be disappointed. > > This is some sticky stuff once you get into it.... > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > LiveCode Journal blog: > http://LiveCodejournal.com/**blog.irv<http://LiveCodejournal.com/blog.irv> > > ______________________________**_________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/**mailman/listinfo/use-livecode<http://lists.runrev.com/mailman/listinfo/use-livecode> > -- Chipp Walters CEO, Shafer Walters Group, Inc. _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
