Scrollable div on iPhone without using 2 fingers?

前端 未结 7 1723
南方客
南方客 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条回答
  • 2021-01-01 06:55

    For a CSS only reference the Safari CSS Reference probably has what you are looking for. You'll be especially interested in anything starting with "-webkit" or "-khtml" as those are extended properties only available with WebKit like 3D and touches. Should apply to Android as well.

    With JavaScript the Introduction to WebKit DOM Programming Topics and WebKit DOM API Reference are go-to guides. Definately take a look at the light-table demo for some copy and paste javascript on handling your touches as that's how I would solve this.

    0 讨论(0)
提交回复
热议问题