Hi Remi No good Remi. 70%?!! - I was hoping for better news :((
So you go from screen A to B and to C. At C you update some information which means you also need to update screen A and B. So after the update you go straight to screen B and before doing so you update the screen and everything's ok. But ... when you at screen B hit the backButton the old info at screen A will appear. (If I remember correctly that is what will happen.) No easy (almost) built-in solution? ~) Regards Rune 2014-06-05 14:02 GMT+03:00 Remi Grumeau <remi.grum...@gmail.com>: > eh eh :) > If you don't play the rules, be ready to face those kind of problems ;) > > Emy deals with going from screen A to screen B by itself. If you want no > transitions between screens, just set emy.transitionMode to "none" > > http://www.emy-library.org/documentation/1.0/core-documentation.html#emy-transitionmode > > Then going back and forward with browser prev/next buttons is supported. > > Only way to do it by yourself would be to totally recreate 70% of the > library, aka dealing with hash & hashChange events. > And i'm pretty sure you don't want to do that :) > > > Or, even worse, you can hide the backButton, and create your own > backButton (just call it something else than "backButton") with the onClick > you want on it. > That wouldn't support the device physical back button by the way... > > > Remi > > Le 5 juin 2014 à 07:55, Rune Back <rune.b...@gmail.com> a écrit : > > Hi > > I've got all pages in one *<section></section>*. When changing to another > page I change the content of this *<section></section>* This raises the > need of changing the backButton so that it instead of doing something like > *window.history.back()* it might call *myFunction(myVar)* where I can > update the content of the <section></section>. > > *How do I do that?* > > Thank you for any help > > Rune > > > > > -- > You received this message because you are subscribed to the Google Groups > "iPhoneWebDev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to iphonewebdev+unsubscr...@googlegroups.com. > To post to this group, send email to iphonewebdev@googlegroups.com. > Visit this group at http://groups.google.com/group/iphonewebdev. > For more options, visit https://groups.google.com/d/optout. > > > -- > You received this message because you are subscribed to the Google Groups > "iPhoneWebDev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to iphonewebdev+unsubscr...@googlegroups.com. > To post to this group, send email to iphonewebdev@googlegroups.com. > Visit this group at http://groups.google.com/group/iphonewebdev. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to iphonewebdev+unsubscr...@googlegroups.com. To post to this group, send email to iphonewebdev@googlegroups.com. Visit this group at http://groups.google.com/group/iphonewebdev. For more options, visit https://groups.google.com/d/optout.