position:fixed in Windows Phone 7

前端 未结 2 2097
南方客
南方客 2021-01-19 02:18

I\'m trying to create a PhoneGap Windows Phone 7 application. In order to imitate an Application bar that should always be visible at the left side of the screen in landscap

2条回答
  •  春和景丽
    2021-01-19 03:16

    I was also hanging on this problem. It really seems not to be possible to create a fixed element and to position elements after every scroll looks even worse (try the jquery mobile online examples on your phone they do it this way).

    I "solved" the problem by using a div container for my non fixed content with style="overflow: scroll" and fixed size. This worked for me. But scrolling in this container doesn't look like native scrolling.

    Hope that helps

提交回复
热议问题