需要有关具有固定选项卡和滚动内容的 iPhone 布局的帮助
我正在寻求开发一个专门用于在 iPhone/移动浏览器上查看的网页。布局将是这样的:
我希望修复顶部的两个选项卡,即它们总是出现在视口/屏幕的顶部,并且每个选项卡中的内容要滚动(每个选项卡中内容的高度将超过剩余的可用高度,所以我希望它滚动)。
理想情况下,切换选项卡时也会有过渡(也许简单的淡入淡出最适合 iPhone 的图形功能),尽管这不是必需的。
我将不胜感激任何关于设置此设置的建议,
谢谢,
尼克
I am looking to develop a webpage specifically for viewing on an iPhone/mobile browsers. The layout would be something like this:
I would like the two tabs at the top to be fixed, i.e. they would always appear at the top of the viewport/screen, and the content in each tab to scroll (the height of the content in each tab would exceed the remaining available height, and so I would want this to scroll).
Ideally there would also be a transition on switching tabs (perhaps a simple fade would work best with the graphics capability of the iPhone), though this is not essential.
I would be grateful for any advice in getting this set up,
Thanks,
Nick
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
查看 JQTouch,它是一个可以制作类似于 iPhone 本机操作系统的精美动画的库。
Look into JQTouch it's a library that does nice animations similar to iPhone native OS.