Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Jan 2008
    Posts
    334
    Thanks
    9
    Thanked 0 Times in 0 Posts

    How to remove the address bar on iPhone

    I've noticed that google map, and gmail when you visit the site on the iPhone, that the address bar hides itself. And when you scroll up the top the address bar doesn't reappear, until you tab at the top at which point it shows itself again. I know when you load a page you can use window.scrollTo to scroll the page to a point that it hides the address bar, but when you scroll back up it's still there. Does anyone have a clue how you go about hiding the address bar on the iPhone even when you scroll up to the top?

    Thanks,
    Jon W

  • #2
    Senior Coder A1ien51's Avatar
    Join Date
    Jun 2002
    Location
    Between DC and Baltimore In a Cave
    Posts
    2,717
    Thanks
    1
    Thanked 94 Times in 88 Posts
    Involves scrollTo and page load

    http://shaunmackey.com/articles/mobi...-mobilesafari/

    Eric
    Tech Author [Ajax In Action, JavaScript: Visual Blueprint]


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •