Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
Developer
Posts: 79
Registered: ‎09-17-2012
My Device: Torch 9800
My Carrier: DiGi

Advice on Navigation and Layout

Hi all. I'm sure some of you have seen me posting various questions on scrolling issues using scrolling div. And I just realised that scrolling div and fixed headers. are not suitable for trackpad/trackball navigation.

 

Can anyone please advise me this please. Because the app I'm developing needs to have fixed headers and also user requested that they would like to scroll vertically and horizontally using trackpad/trackball.  Is there any solution or workaround for this problem?

 

Thank you.

Highlighted
BlackBerry Development Advisor
Posts: 769
Registered: ‎10-01-2009
My Device: All
My Carrier: N/A

Re: Advice on Navigation and Layout

It can definitely be trickier, but I've used iScroll in the past to achieve this with a nice fluid scroll.http://cubiq.org/iscroll

 

The only downside is you would likely need to capture the scrolling, and in JavaScript tell iScroll how much to scroll the div.  I'm sure there are other ways of doing this, but this is one way I found worked when I created LensBoost for BBOS back in the day.