【发布时间】:2015-05-02 20:10:20
【问题描述】:
我知道那个话题——fullpage.js how to create slide anchors and scroll to them?
但我需要为部分创建锚点。
这是我的page。
每个部分底部的滚动按钮应该滚动到下一个部分,但我不明白如何使它工作。
【问题讨论】:
标签: javascript jquery html css fullpage.js
我知道那个话题——fullpage.js how to create slide anchors and scroll to them?
但我需要为部分创建锚点。
这是我的page。
每个部分底部的滚动按钮应该滚动到下一个部分,但我不明白如何使它工作。
【问题讨论】:
标签: javascript jquery html css fullpage.js
解释in the documentation你甚至have examples of it available。
您现在正在初始化 fullPage.js 而不使用 anchors 选项,实际上,没有任何单一选项:
$('#wrap').fullpage();
只需添加文档中详述的锚选项,例如:
$('#wrap').fullpage({
anchors: ['first', 'second', 'third']
});
【讨论】: