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

Posts: 17
Registered: ‎04-13-2010
My Device: 9550
My Carrier: Airtel

how to get scroll position using BB webkit?

Hi All,


I am developing e-book Reader using BB web development kit, in which i need to store the current scroll position. 


For that i am using "iframeEl.contentWindow.scrollY". but it returns always 0. 


would you please guide me how do i get current vertical Scroll Position of the text using Javascript in BB Web development kit.


Thanks inAdvanced


Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: how to get scroll position using BB webkit?

Hi Sunil,


I know you are already on the other thread for this topic where there is a solution underway, but I figured I would add a post to this thread as well pointing to the new one for those who may be doing searches later





Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter