【问题标题】:Internal Links jump to the end of the slide fragments内部链接跳转到幻灯片片段的末尾
【发布时间】:2019-06-19 05:29:53
【问题描述】:

在reveal.js 中,我怎样才能有一个内部链接<a href="/#/13/0/-1">Link</a> 真正跳转到幻灯片的开头而不是结尾。 当我单击链接时,它会跳转到localhost:3000/#/13/0/5。当我在网址中输入/#/13/0/-1 并按回车键时,它可以工作...,当我在链接上使用target="_blank" 时也是如此。

是否存在配置错误? 我使用最新的主分支。

 Reveal.initialize({
      controls: true,
      progress: true,
      history: true,
      hash: false,
      fragmentInURL: true,
      center: true,
      mouseWheel: false,
      slideNumber: "c/t",
      transition: 'fade', // none/fade/slide/convex/concave/zoom
      width: 960,
      heigh: 540,
      margin: 0,
      minScale: 0.001,
      maxScale: 40,
      pdfSeparateFragments: true,
      hideInactiveMouse: true,
      hideMouseTime: 1000,

【问题讨论】:

    标签: html reveal.js


    【解决方案1】:

    这是reveal-code-focus插件中的一个错误:https://github.com/bnjmnt4n/reveal-code-focus/issues/20

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-10-15
      • 1970-01-01
      • 2012-08-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多