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.