fullpage.js 插件后正常滚动
fullpage.js normal scroll after plugin
我无法让插件在应用设置后恢复正常滚动。
我已将插件应用于主标签:
$("main").fullpage({ sectionSelector: "> *");
从 main 转到最后一部分后,我希望能够滚动页脚部分(正常没有全屏),但我无法让它工作。
<body>
<main>
<div class="title fp-auto-height"></div>
<section>1</section>
<section>2</section>
...
</main>
<footer>
<section>1</section>
</footer>
谢谢。
你不能。
您最多可以通过使用 fullpage.js 选项 scrollOverflow
并在最后一部分添加所有页面内容来模拟。
它将创建一个滚动条,如您在 this example 中看到的那样。
我无法让插件在应用设置后恢复正常滚动。
我已将插件应用于主标签:
$("main").fullpage({ sectionSelector: "> *");
从 main 转到最后一部分后,我希望能够滚动页脚部分(正常没有全屏),但我无法让它工作。
<body>
<main>
<div class="title fp-auto-height"></div>
<section>1</section>
<section>2</section>
...
</main>
<footer>
<section>1</section>
</footer>
谢谢。
你不能。
您最多可以通过使用 fullpage.js 选项 scrollOverflow
并在最后一部分添加所有页面内容来模拟。
它将创建一个滚动条,如您在 this example 中看到的那样。