?? Putting your field in the middle is a sure way to have it covered up by the keyboard. It (they) should be in the top half of the screen. ie.not under any part of the popup keyboard's real estate. This is why people are working on getting the page to scroll on dif field focus, to move the fields higher on the screen via the page scroll. If you have a login screen for example with two fields, put them both in the top half of the screen and no scrolling is necessary.
-=Randy On Sep 15, 2007, at 8:59 AM, judge <[EMAIL PROTECTED]> wrote: > > The input field should be scrolled to the middle of the screen. I > found that the viewport meta information can screw this up though. I > use the following viewport settings now: > > <meta name="viewport" content="width=320, initial-scale=1, maximum- > scale=1"/> > > You should try this setting to see if it works and then modify them to > try and achieve the effect you want, checking that the input fields > still behave. > > On Sep 4, 2:51 pm, Randy Walker <[EMAIL PROTECTED]> wrote: >> If you read through the apple iPhone developer page, it mentions (I >> think) keeping all input fields towards the top of the screen. I've >> been meaning to play around with onfocus/onblur/onchange etc. to >> trigger a scrollTo, but got lazy and just moved my two input fields >> to >> the top instead. >> >> -=Randy >> >> On Sep 4, 2007, at 11:27 AM, "Tobias Kask" <[EMAIL PROTECTED]> >> wrote: >> >>> Hi again, and thanks everyone in the group for an interesting >>> discussion and a neverending supply of helpfulness. :) >> >>> As the topic explains, I've come across problems concerning the >>> keyboardcovering text areas or other input fields. Does anyone know >>> of a way to fix this, such as scrolling the screen with a javascript >>> triggered by an onFocus event? Furthermore, i have a text input at >>> the very bottom of my screen - could this pose a problem? It seems >>> impossible to scroll the screen so far down so that this input field >>> appears above thekeyboard. >> >>> Thank you! Regards, >>> Tobias Kask > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
