Here's my wonderful code (a zip file of it is at the end). Try this
and see if it works.
- Step 1: Add the following into your toolbar <div>:
<a id="goBack" class="button" href="#" style="display:none"></a>
Step 2: Add the following to your email <ul> where the title="" and
class="" are:
backButton="true" hideBackButton="true"
Step 3: In the iui.js file at the end of the updatePage() function
(but still within it) add this:
var goBack = $("goBack");
if (goBack)
{
var goBackOn = page.getAttribute("backButton");
if (goBackOn)
{
goBack.innerHTML = "Back";
goBack.href = "javascript:iui.goBack();";
goBack.className = "button backButton leftButton";
goBack.style.display = "inline";
}
else
goBack.style.display = "none";
}
Zip file: http://www.zylka.us/uploads/backButton.zip
Thanks and good luck,
Alex Zylka
On Mar 22, 7:23 pm, Sean Gilligan <[email protected]> wrote:
> Ren Brouwer | wrks wrote:
>
> > On 22-03-2010 at 22:59, [email protected] (Sean Gilligan) wrote:
>
> > > This is a known issue and is likely a Mobile Safari bug. See
> > iUI Issue #147:
> > >http://code.google.com/p/iui/issues/detail?id=147
>
> > Has it been logged/reported at Apple?
>
> > (just checking...)
>
> I haven't reported this to Apple. Has anyone else on this list done so?
>
> -- 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.