简体   繁体   中英

blackberry webworks: trackpad scrolling

i have several focusable elements in my app, so when i'm focusing a scrollable div, the focus goes to another focusable element instead of scrolling that div when using the trackpad. how can i prevent this? i want it to scroll that div first, and if it cant scroll anymore then jump to the next element. how can i achieve this?

Take a look at the Kitchen Sink example for scrolling Divs: http://blackberry.github.com/WebWorks-Samples/kitchenSink/html/css3/overflow.html

NOTE: Use Firebug/Chrome Developer tool to view the javascript doing all the work.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM