我有 3 个Scrollify部分。我希望第三部分可以滚动。
文档列出了这种方法:
standardScrollElements
“需要标准滚动行为的部分中元素的 CSS 选择器。”
这是我的 JS
$.scrollify({
section : ".section",
sectionName : "section-name",
interstitialSection : "",
easing: "easeOutCubic",
scrollSpeed: 2000,
offset : 0,
scrollbars: false,
standardScrollElements: ".third",
setHeights: true,
overflowScroll: true,
updateHash: true,
touchScroll: true,
});
但由于某种原因,它不会滚动,也不会让我从第三部分向后滚动。
这是我损坏的演示:
有任何想法吗?