Scrollable div on iPhone without using 2 fingers?

前端 未结 7 1754
南方客
南方客 2021-01-01 06:10

I\'ve got a UIWebView embedded in my iPhone app, and I\'d like to keep a locked header and footer DIV on the page at all times, with a scrollable center DIV.

I know

7条回答
  •  Happy的楠姐
    2021-01-01 06:41

    May be clunky, but you could reposition the header and footer over top of the div as the user scrolls. This way your main div doesn't need to be scrollable. No help for anything (still) using frames though.

    This is one of the more irritating browser issues with the iPhone/touch, I wish you could just focus on part of the page like a normal browser.

提交回复
热议问题