【问题标题】:How to create own link on section Using Fullpage JS如何在使用 Fullpage JS 部分创建自己的链接
【发布时间】:2015-05-02 20:10:20
【问题描述】:

我知道那个话题——fullpage.js how to create slide anchors and scroll to them?

但我需要为部分创建锚点。

这是我的page

每个部分底部的滚动按钮应该滚动到下一个部分,但我不明白如何使它工作。

【问题讨论】:

    标签: javascript jquery html css fullpage.js


    【解决方案1】:

    解释in the documentation你甚至have examples of it available

    您现在正在初始化 fullPage.js 而不使用 anchors 选项,实际上,没有任何单一选项:

    $('#wrap').fullpage();
    

    只需添加文档中详述的锚选项,例如:

     $('#wrap').fullpage({
          anchors: ['first', 'second', 'third']
     });
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-05-13
      • 2018-02-05
      • 1970-01-01
      • 2019-12-24
      • 2013-12-13
      • 1970-01-01
      • 1970-01-01
      • 2019-01-13
      相关资源
      最近更新 更多