Yeah it works !!! :) thx Alex ! Le 25 févr. 2010 à 03:45, Alex Zylka a écrit :
> hideBackButton definitely works. I use it all the time. Just set > hideBackButton="true" in your <ul> and you're all set! > > On Feb 24, 6:52 pm, Sean Gilligan <[email protected]> wrote: >> jamez wrote: >>> Is there an easy way to hide the default back button on a particular >>> page? >> >> I just checked the source for iui.js and on line 519 (may differ a >> little in your version) is the following: >> >> if (prevPage && !page.getAttribute("hideBackButton")) >> { >> ... adjust back button for new page... >> } >> else >> backButton.style.display = "none"; >> >> I've never tried this, but it looks like if you add the HTML atttribute >> 'hideBackButton' to your page/fragment it should hide the back button. >> >> If you decide to use a hook to call JavaScript when a page is displayed >> you should probably use 'onfocus' rather than 'onaftertransition' >> >> -- Sean > > -- > 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. > -- 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.
