gpt4 book ai didi

javascript - fullpage.js normalScrollElements 不向下滚动

转载 作者:行者123 更新时间:2023-11-28 00:00:24 25 4
gpt4 key购买 nike

我在网站上使用 fullPage.js,由于某种原因,normalScrollElements 无法按我的预期工作。我的网站上有 5 个部分,我需要对 section2(即 Showroom)进行正常滚动。我在该部分使用了 normalScrollElements,现在的问题是我无法向下滚动到其他部分(ContactAbout)。我不知道要在这里放置什么代码,因为它基本上是 normalScrollElements

这是我网站的链接: http://sabirmb.com/Parallax

有人可以向我解释一下我做错了什么吗?

谢谢。

最佳答案

问题已解决。基本上,我唯一需要添加的是 scrollOverflow:true,如文档中所述。

为了将来引用,如果您有一个部分的内容比屏幕视口(viewport)更多,您应该使用 scrollOverflow:true ,这将允许内容在该视口(viewport)中滚动。

关于javascript - fullpage.js normalScrollElements 不向下滚动,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31861184/

25 4 0
文章推荐: php - 调整窗口大小时如何修复侧边栏?
文章推荐: html - 如何在特定的
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com