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: 676
Registered: ‎05-06-2012
My Device: Dev Alpha & PlayBook
My Carrier: wifi

screen.availHeight on DevAlpha

I have an application built with BlackBerry 10 Webworks. I'm using screen.availHeight javascripyt variable in my code to determine the starting point of an animation but the Height seems to be short at least a few hundred pixels.


Can anyone else give some input on if screen.availHeight is giving back the correct value on your DevAlpha?

co-founder of Diaree | BB Dev for PictureThis
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: screen.availHeight on DevAlpha

What values are you getting?  I would expect them to be consistent with the screen resolution (1280x768).



The following page can help test these values:



Follow me on Twitter: @n_adam_stanley
Your app doesn't work? Use BlackBerry remote web inspector to find out why.