Before making changes I wanted to make sure I wasn't missing something
obvious.

Thanks.

On Jul 28, 4:55 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> On Jul 28, 11:34 am, Mobivity <[EMAIL PROTECTED]> wrote:
>
> > There's one thing I can't figure out, and maybe I am missing something
> > simple here. I want to change the button on the toolbar depending on
> > what page I am on. Is this possible with the iUi?
>
> I think in this section of the iui.js...
>
>     var backButton = $("backButton");
>     if (backButton)
>     {
>         var prevPage = $(pageHistory[pageHistory.length-2]);
>         if (prevPage)
>         {
>             backButton.style.display = "inline";
>             backButton.innerHTML = prevPage.title ? prevPage.title :
> "Back";
>         }
>         else
>             backButton.style.display = "none";
>     }
>
> ...you'd need to check which page you're on, and specify a certain
> "Back" button appropriately.
>
> > When I link to a page, it puts the button at the top of the included
> > page, and not over the toolbar button. Am I missing something simple?
>
> Have you changed the CSS?
>
> Cheers,
>
> Patrick


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to