This repository has been archived by the owner on Sep 4, 2023. It is now read-only.
forked from hakimel/reveal.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
webyarns-demo-linear.html
97 lines (94 loc) · 2.77 KB
/
webyarns-demo-linear.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>reveal.js</title>
<link rel="stylesheet" href="css/reset.css">
<link rel="stylesheet" href="css/reveal.css">
<link rel="stylesheet" href="css/theme/black.css">
<!-- Theme used for syntax highlighting of code -->
<link rel="stylesheet" href="lib/css/monokai.css">
<!-- Printing and PDF exports -->
<script>
var link = document.createElement('link');
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = window.location.search.match(/print-pdf/gi) ? 'css/print/pdf.css' : 'css/print/paper.css';
document.getElementsByTagName('head')[0].appendChild(link);
</script>
</head>
<body>
<div class="reveal">
<div class="slides">
<section id="0">
<h1>Start</h1>
</section>
<section id="1">
<h1>Slide 2 (<code>hindex=1)</code></h1>
</section>
<section id="3">
<h1>Next Slide is hidden</h1>
</section>
<section id="4" data-hidden-section>
<code>[data-hidden-section]</code>
</section>
<section id="5">
<h1>Next slide is right only</h1>
</section>
<section id="6" data-right-only-section>
<code>data-right-only-section</code>
</section>
<section id="7">
<h1>Previous was right only</h1>
</section>
<section id="8" data-next-slide-indexh="1">
<h2>This one has a <code>data-next-slide-idx=1</code></h2>
</section>
<section id="9" data-auto-move-to="1" data-auto-move-time-sec="5">
<h2>Slide will move automatically move</h2>
<h3><code>data-auto-move-to="1"</code></h3>
<h4>By default after 3sec, in this case:</h4>
<h4><code>data-auto-move-time-sec="5"</code></h4>
</section>
<section id="10">
<h2>Link to <a data-link-indexh="1"><code>data-link-indexh="1"</code></a></h2>
</section>
<section id="11" title="some-verticals">
<section id="some-verticals">
<h1>some-verticals</h1>
</section>
<section>
<h1>one down</h1>
</section>
<section>
<h1>two down</h1>
</section>
<section>
<h1>bottom</h1>
</section>
</section>
<section id="12">
<h1>End</h1>
</section>
</div>
</div>
<script src="webyarns-util/lib/helpers.js"></script>
<script src="js/reveal-vertical.js"></script>
<script>
// More info about config & dependencies:
// - https://github.com/hakimel/reveal.js#configuration
// - https://github.com/hakimel/reveal.js#dependencies
Reveal.initialize({
navigationMode: 'linear',
dependencies: [
{ src: 'webyarns-util/lib/webyarn-plugin.js' },
{ src: 'plugin/markdown/marked.js' },
{ src: 'plugin/markdown/markdown.js' },
{ src: 'plugin/notes/notes.js', async: true },
{ src: 'plugin/highlight/highlight.js', async: true }
]
});
</script>
</body>
</html>