ScrollDelay 将无法使用正确放置的以下代码。我究竟做错了什么?
http://oskarvertetics.kaggteknik.se/portfolio/test2/
var scrollDelay = 500;
此外,似乎无法弄清楚右侧和幻灯片中的导航有什么问题。
最佳答案
ScrollDelay will not work using the following code placed correctly. What am I doing wrong?
scrollDelay
停止在 fullPage.js 中使用 since version 2.5.7作为一种防止双滑动的新技术被开发出来。
事实上,您不会在代码和文档中找到任何对它的引用。
Also, can not seem to figure out what is wrong with the navigation on the right side and in the slides.
您正在多次初始化插件...
<script type="text/javascript">
$(document).ready(function() {
$('#fullpage').fullpage({
verticalCentered: false
});
});
</script>
<script type="text/javascript">
$(document).ready(function() {
$('#fullpage').fullpage({
sectionsColor: ['', '#F3F5F1', '#7BAABE', 'whitesmoke'],
anchors: ['homepage', 'about', 'works', 'contact'],
menu: '#menu',
scrollingSpeed: 1000
});
});
</script>
关于javascript - fullPage.js,滚动延迟不工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29373271/