iPhone:webkit中的粘贴屏幕标题或页脚(HTML / css) [英] iPhone: sticky on-screen header or footer in webkit (HTML/css)

查看:115
本文介绍了iPhone:webkit中的粘贴屏幕标题或页脚(HTML / css)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以创建粘性页眉或页脚,这样无论在哪里滚动页眉/页脚留下来?我正在寻找一个用于iPhone / webkit的HTML / CSS / javascript解决方案。

Is it possible to create a sticky header or footer such that no matter where you scroll the header/footer stays put? I'm looking for a HTML/css/javascript solution for iPhone/webkit.

推荐答案

回答自己的问题:我找到的最好的资源到目前为止是这样: http://doctyper.com/archives/200808/fixed-positioning-on-mobile-safari/

Answering my own question: best resource I've found so far is this one: http://doctyper.com/archives/200808/fixed-positioning-on-mobile-safari/

但是,我想最终会使用来自Appcelerator的Titanium ,而不仅仅是html / css。

However, I think I'm going to end up using Titanium from Appcelerator instead of just html/css.

这篇关于iPhone:webkit中的粘贴屏幕标题或页脚(HTML / css)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆