You can't. Best you can do is to use a lib like scroll, to provide scrolling in a div but keep others fixed.
R. On 20 déc. 2010, at 07:32, Roger J Vale <[email protected]> wrote: > I am trying to keep a div in the same position on the screen while the user > scrolls. > > Ie it stays in the centre if the screen when the user is scrolling around > the page. > > I can move the div once the user stops using > e.touches[0].pageY etc > > Roger > > > On 20/12/2010 04:29, "Francois Laberge" <[email protected]> wrote: > >> What are you trying to do? >> >> Sent from my iPhone >> >> On 2010-12-19, at 8:46 PM, Excell <[email protected]> wrote: >> >>> Hi >>> Is there a way to get current scrolling position while the page is >>> scrolling? >>> >>> Not when the scroll has finished ? >>> >>> Many thanks >>> >>> Roger [Excell] >>> >>> -- >>> 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. >>> > > > > > > > > Kind Regards > > Roger Vale > > At Barrett Interiors we appreciate all comments received from clients, take > pride in providing an excellent service and place value on our ability to > correct error. > Should you wish to comment on any aspect of the service that I personally, > or Barrett Interiors as a whole, have given you please do so in confidence > through my e-mail address. > > P please consider the environment before printing this e-mail > > This email is confidential and privileged and intended only for the stated > addressee(s). If you have received this in error, please inform us > immediately and delete it and all copies from your system. Any information > that does not relate to business of Barrett Interiors Ltd shall be > understood as neither given nor endorsed by it. This email and any > attachments are believed to be free of any virus, or defect, but it is the > responsibility of the recipient to ensure this. Barrett Interiors does not > accept responsibility or liability for any loss or damage arising in any way > from its receipt or use or for any errors or omissions in its contents which > may arise as a result of its transmission. > > > Barrett Interiors Ltd > 79 College Road > Harrow > HA1 1BD > tel: 0203 170 8502 > http://www.barrettinteriors.co.uk > > > > -- > 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. > -- 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.
