【发布时间】: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,
【问题讨论】: