Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Scrolling page with drag - simple solution required

YourNameHereApr 3 2012 — edited Apr 4 2012
Hi,
We are looking at developing some applications for a touch-screen mobile device. One of the problems we face is scrolling - the scrollbars render quite small and it gets a little tricky. What I would like to do is implement a scrolling function where the user can scroll using the touchscreen, in the same way as you can with your mobile phone/tablet. I'm not looking at any of the fancy stuff that comes with those such as elasticity and bounce, just somethingvery basic and robust.
I have seen an example of a page which overwrote the document.onmousedown/move/up functions to do this but it was a little fiddly in that it sometimes interfered with pressing links on the page, focusing items etc.

Does anyone have any suggestions/ideas? Needs to be as lightweight as possible with it being on a mobile device and ideally in pure javascript rather than jquery (again, just for better mobile support).
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 2 2012
Added on Apr 3 2012
5 comments
277 views