gpt4 book ai didi

javascript - 在 turn.js 中设置第一页是双页而不是单页?

转载 作者:行者123 更新时间:2023-11-29 20:02:17 25 4
gpt4 key购买 nike

    Views
A view is a set of pages that are visible on the screen; in general
that moment depends on the current page. For example, when the
display of a flipbook of 10 pages is set to double, the pages would
be grouped like this:
1
2-3
4-5
6-7
8-9
10

从官方文档看,第一页是单页,显示在右手边,请问可以改成双页吗?喜欢:

1-2

2-3

4-5

5-6

6-7

....

在 turn.js 方面有任何开发经验可以帮助我吗?

最佳答案

来自他们在 How Turn.js Works 上提供的示例 fiddle 我删除了第二个 div class="hard" ,它导致标题页后跟第 1 页和第 2 页可见。这是fiddle .

如果您甚至不需要扉页,您可以直接将书打开到第 1 页和第 2 页,如 fiddle 所示。 .

看看问题138 , 195 , 和 45了解更多信息。

关于javascript - 在 turn.js 中设置第一页是双页而不是单页?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13755556/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com