Can you make it fullscreen capable when adding to homescreen, just to test
if that works as well.

What are you doing? Adding a 100% object and getting the height?

On Thu, Mar 17, 2011 at 8:41 AM, KCL <[email protected]> wrote:

> Is there a way, through javascript, to get the actual viewable area on a
> device?  Not hard coding, but tracking down the dimensions of the viewable
> screen via javascript?
>
> On the iPhone, if you're not in fullscreen mode, you've got the Safari
> tabbar at the bottom that doesn't scroll.  I know I can get the dimensions
> of it easy enough and hard-code the viewable screen size by subtraction when
> not in fullscreen.  But I'd like to have a more robust solution (robust
> meaning I can code it and forget about it for future devices) that could
> work cross-platform on webkit devices.
>
> Scott.
>
> --
> You received this message because you are subscribed to the Google Groups
> "iPhoneWebDev" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/iphonewebdev?hl=en.
>



-- 
"Local color. Soak it up"
Virginia Vidaura

http://www.merkwelt.com/people/stan/

-- 
You received this message because you are subscribed to the Google Groups 
"iPhoneWebDev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/iphonewebdev?hl=en.

Reply via email to