screen.height not correct -> emulator problem/js problem


Last Updated:

  1. mcshen

    mcshen New Member This Topic's Starter

    Joined:
    Sep 1, 2010
    Messages:
    1
    Likes Received:
    0
    Hello

    I am using javascript to dynamically resize a div in my page. However, it seems to me that screen.height is not returning the value in android emulator 2.2 api 8.

    However, screen.width seems to be correct.

    Any idea? Is this a known emulator problem?
    I am getting the height of the viewable area with the following javascript:
    screen.height
     

    Advertisement

Share This Page

Loading...