我有3個Scrollify部分。我希望第三部分可以滾動。Scrollify Scroll Element
文檔列出了該方法:
standardScrollElements
「A 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,
});
但由於某些原因,它不會滾動,它不會讓我從滾動第三部分後面。
這裏是我破碎的演示:
任何想法?
滾動條:假,是造成問題 –
@SahilDhir修復它,謝謝 –
不客氣:) –