-
Notifications
You must be signed in to change notification settings - Fork 267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
如何添加头尾的自适应高度部分,让其上下滚动展示而不是盛放在当前页面中? #39
Comments
可以像 README.md 里面提供到的例子[http://1.fullpagechris.sinaapp.com/index.html] 那样 使用 |
额...可能是我描述有误,是说像例子里的header和footer在滑动之前是隐藏不显示的,当滚轮滑动到顶端或底部基于同样的滚轮事件出现头尾信息,头部和尾部会自动挤压首屏和尾屏的视口。 |
实现的方式和 fullpage.js 不一样哦。(因为展示的时候实现方式也是不同的) |
我尝试增加最后一屏的高度120% 注销了body部分的overflow实现了内容展示,但最后一屏的滚轮事件无效了。然后按照你说的step做了尾部的滚动显隐,常规浏览没问题,但现在遇到一个问题是,我该如何让step兼容IE8(项目需求.),无动画只显示隐藏的方案也可。 |
1.step 是在任何浏览器下都会加的,只不过 ie8 可能没有 css3 过渡特效了。 |
效果参考:锤子
魅族
The text was updated successfully, but these errors were encountered: