Thread
:
WebKit engine for default browser
View Single Post
pronvit
2008-12-30 , 04:56
Posts: 80 | Thanked: 111 times | Joined on Dec 2008 @ Moscow, Russia
#
68
Please try my new version. It's somewhat experimental because I implemented finger scrolling in unusual way.
The problem with finger scrolling is that (without hacking webkit) I don't know if motion event will be handled by javascript on the page (for example to pan google maps, to select text (however this isn't javascript-related)) or I can use it for scrolling. That's why simple implementation when any tap+move = scroll is very bad.
Instead of this I reserved 100px scrolling areas in right and bottom parts of window. So when you tap and move near right edge you will scroll vertically, and near bottom edge to scroll horizontally. Moving in remaining window area will pass this events to page for handling in javascript. So think of my implementation as of wide invisible scrollbars. Btw, I removed default scrollbars.
For me such solution is quite convenient. Try it and tell me what do you think.
Oh, download link:
http://mifki.s3.amazonaws.com/webkit....0.7_armel.deb
upd. Fullscreen/zoom keys now should work too!
__________________
http://blog.mifki.com
http://mifki.com
Last edited by pronvit; 2008-12-30 at
06:26
.
Quote & Reply
|
The Following User Says Thank You to pronvit For This Useful Post:
Munk
pronvit
View Public Profile
Send a private message to pronvit
Visit pronvit's homepage!
Find all posts by pronvit