我正在使用jQuery Mobile创建一个网站.
如何保持jquery移动页眉和页脚固定?我只想要内容滚动(就像它在iPhone应用程序中发生的那样),并保持页眉和页脚固定在顶部和底部.
有什么建议 ?
Dir*_*ngs 28
将此属性添加到页眉/页脚div:
<div data-role="header" data-position="fixed">
<h1>Header Page 1</h1>
</div>
Run Code Online (Sandbox Code Playgroud)
此外,您可能会看到这个:http: //jquerymobile.com/test/docs/toolbars/footer-persist-a.html
归档时间: |
|
查看次数: |
57269 次 |
最近记录: |