jQuery-全页页面滚动功能

时间:2018-11-06 10:44:35

标签: javascript html fullpage.js

    <div id="fullpage" class="fullpage">
    <div class="section inf-sky-silder row-fluid">
        Section one
    </div>
    <div class="section inf-sky-silder row-fluid">
            Section one
    </div>
    <div class="section inf-sky-silder row-fluid">
            Section one
    </div>
    </div>
    <p> This section is using `data-percentage="80"` and `data-centered="false"`. It won't be vertically centered in the viewport and will show part of the previous or next section depending on the direction of the previous scroll.
            This section is using `data-percentage="80"` and `data-centered="false"`. It won't be vertically centered in the viewport and will show part of the previous or next section depending on the direction of the previous scroll.
            This section is using `data-percentage="80"` and `data-centered="false"`. It won't be vertically centered in the viewport and will show part of the previous or next section depending on the direction of the previous scroll.
            This section is using `data-percentage="80"` and `data-centered="false"`. It won't be vertically centered in the viewport and will show part of the previous or next section depending on the direction of the previous scroll.
            This section is using `data-percentage="80"` and `data-centered="false"`. It won't be vertically centered in the viewport and will show part of the previous or next section depending on the direction of the previous scroll.
            This section is using `data-percentage="80"` and `data-centered="false"`. It won't be vertically centered in the viewport and will show part of the previous or next section depending on the direction of the previous scroll.
            This section is using `data-percentage="80"` and `data-centered="false"`. It won't be vertically centered in the viewport and will show part of the previous or next section depending on the direction of the previous scroll.
            This section is using `data-percentage="80"` and `data-centered="false"`. It won't be vertically centered in the viewport and will show part of the previous or next section depending on the direction of the previous scroll.
            This section is using `data-percentage="80"` and `data-centered="false"`. It won't be vertically centered in the viewport and will show part of the previous or next section depending on the direction of the previous scroll.
            This section is using `data-percentage="80"` and `data-centered="false"`. It won't be vertically centered in the viewport and will show part of the previous or next section depending on the direction of the previous scroll.
            This section is using `data-percentage="80"` and `data-centered="false"`. It won't be vertically centered in the viewport and will show part of the previous or next section depending on the direction of the previous scroll.
            This section is using `data-percentage="80"` and `data-centered="false"`. It won't be vertically centered in the viewport and will show part of the previous or next section depending on the direction of the previous scroll.This section is using `data-percentage="80"` and `data-centered="false"`. It won't be vertically centered in the viewport and will show part of the previous or next section depending on the direction of the previous scroll.
            This section is using `data-percentage="80"` and `data-centered="false"`. It won't be vertically centered in the viewport and will show part of the previous or next section depending on the direction of the previous scroll.
            This section is using `data-percentage="80"` and `data-centered="false"`. It won't be vertically centered in the viewport and will show part of the previous or next section depending on the direction of the previous scroll.
            This section is using `data-percentage="80"` and `data-centered="false"`. It won't be vertically centered in the viewport and will show part of the previous or next section depending on the direction of the previous scroll.
    </p>

嗨,我正在我的项目中创建一个复杂的东西。在我的一个项目中,我需要另外两个具有整页滚动功能的部分。完成此功能后,页面通常应滚动到其他部分。我们能做到吗?我已经将我的测试工作链接附在这篇文章上。你可以帮我吗?

http://dev.netbramha.in/projects/single-scroll/

这也是参考。我需要这种功能。 https://codepen.io/50foot/full/ZJwERV

谢谢:)

1 个答案:

答案 0 :(得分:0)

这不是fullPage.js提供的。

您最多可以利用fullpage.js选项scrollOverflow作为in this example