hey yes, but i a regular site it also comes when you scroll down. i want to replicated that with a page where the scrolling is ajax based with a fixed masthead. users can always touch the little bar, i just wanted to replicate the behavior of regular pages. makes sense? thank you, stan
On Sat, Apr 3, 2010 at 12:02 PM, anmldr <[email protected]> wrote: > If you tap the status bar (where the battery indicator shows), doesn't > the page scroll up automatically? > > HTH, > Linda > > On Mar 29, 3:58 pm, stan wiechers <[email protected]> wrote: > > hey > > > > i am working on a website where the location bar is hidden on load and > > page scrolling is done with touch events to allow a fixed header. when > > the user scrolls up i want the location bar to appear again, i been > > trying a couple of things such as > > > > window.scroll(0,-100); > > > > i also don't call preventDefault when i detect that the location bar > > should show. the only thing that worked but is buggy is to shorten the > > body to force the location bar to appear and to set the real height > > again after that with a timeout. > > > > what is the best approach to make the location bar reappear? > > > > thanks, > > stan > > -- > 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]<iphonewebdev%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/iphonewebdev?hl=en. > > -- "Local color. Soak it up" Virginia Vidaura http://www.merkwelt.com/people/stan/ -- 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.
