gpt4 book ai didi

jquery - 简单的fullpage.js滚动溢出问题

转载 作者:行者123 更新时间:2023-12-01 04:37:21 27 4
gpt4 key购买 nike

fullpage.js 的 scrollOverflow 插件不适用于 jsfidde 或我的网站。

简单jsfiddle隔离繁殖。

使用 StackOverflow 的代码片段可以使用相同的代码。

$(document).ready(function() {
$("#fullpage").fullpage({
scrollOverflow: true
});
});
<head>
<link href="https://www.victorwesterlund.se/src/lib/fullpage.js/dist/jquery.fullPage.min.css" rel="stylesheet" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="https://www.victorwesterlund.se/src/lib/fullpage.js/vendors/scrolloverflow.min.js"></script>
<script src="https://www.victorwesterlund.se/src/lib/fullpage.js/dist/jquery.fullPage.min.js"></script>
</head>

<body>
<div id="fullpage">
<div class="section">
<h1>Lorem ipsum dolor sit amet, cotetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna
</h1>
</div>
<div class="section">
<h1>Lorem ipsum dolor sit amet, cotetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna
</h1>
<h1>Lorem ipsum dolor sit amet, cotetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna
</h1>
<h1>Lorem ipsum dolor sit amet, cotetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna
</h1>
<h1>Lorem ipsum dolor sit amet, cotetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna
</h1>
</div>
</div>
</body>

最佳答案

确保:

您的演示已更新: https://jsfiddle.net/yL9da6mz/3/

关于jquery - 简单的fullpage.js滚动溢出问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48338668/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com