fullPage.js,滚动延迟不起作用

fullPage.js, scrollDelay not working

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>