aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2013-06-29 21:42:15 -0400
committerHakim El Hattab <hakim.elhattab@gmail.com>2013-06-29 21:42:15 -0400
commit01e5a54bb653645441f46a7f533cefde6cce445f (patch)
treed0bd940430fc04723d997323a638e94ac9fd508e /examples
parentf1234e51e1ec9fd299b6f2f5705d5a5b778a0840 (diff)
downloadfosdem-2018-presentation-01e5a54bb653645441f46a7f533cefde6cce445f.tar
fosdem-2018-presentation-01e5a54bb653645441f46a7f533cefde6cce445f.tar.gz
test > examples
Diffstat (limited to 'examples')
-rw-r--r--examples/assets/image1.pngbin0 -> 21991 bytes
-rw-r--r--examples/assets/image2.pngbin0 -> 10237 bytes
-rw-r--r--examples/background.html104
-rw-r--r--examples/media.html58
4 files changed, 162 insertions, 0 deletions
diff --git a/examples/assets/image1.png b/examples/assets/image1.png
new file mode 100644
index 0000000..8747594
--- /dev/null
+++ b/examples/assets/image1.png
Binary files differ
diff --git a/examples/assets/image2.png b/examples/assets/image2.png
new file mode 100644
index 0000000..6c403a0
--- /dev/null
+++ b/examples/assets/image2.png
Binary files differ
diff --git a/examples/background.html b/examples/background.html
new file mode 100644
index 0000000..da2b947
--- /dev/null
+++ b/examples/background.html
@@ -0,0 +1,104 @@
+<!doctype html>
+<html lang="en">
+
+ <head>
+ <meta charset="utf-8">
+
+ <title>reveal.js - Test</title>
+
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
+
+ <link rel="stylesheet" href="../css/reveal.min.css">
+ <link rel="stylesheet" href="../css/theme/serif.css" id="theme">
+ </head>
+
+ <body>
+
+ <div class="reveal">
+
+ <div class="slides">
+
+ <section data-background="#00ffff">
+ <h2>data-background: #00ffff</h2>
+ </section>
+
+ <section data-background="#bb00bb">
+ <h2>data-background: #bb00bb</h2>
+ </section>
+
+ <section>
+ <section data-background="#ff0000">
+ <h2>data-background: #ff0000</h2>
+ </section>
+ <section data-background="rgba(0, 0, 0, 0.2)">
+ <h2>data-background: rgba(0, 0, 0, 0.2)</h2>
+ </section>
+ <section data-background="salmon">
+ <h2>data-background: salmon</h2>
+ </section>
+ </section>
+
+ <section data-background="rgba(0, 100, 100, 0.2)">
+ <section>
+ <h2>Background applied to stack</h2>
+ </section>
+ <section>
+ <h2>Background applied to stack</h2>
+ </section>
+ <section data-background="rgba(100, 0, 0, 0.2)">
+ <h2>Background applied to slide inside of stack</h2>
+ </section>
+ </section>
+
+ <section data-background-transition="slide" data-background="assets/image1.png" style="background: rgba(255,255,255,0.9)">
+ <h2>Background image</h2>
+ </section>
+
+ <section>
+ <section data-background-transition="slide" data-background="assets/image1.png" style="background: rgba(255,255,255,0.9)">
+ <h2>Background image</h2>
+ </section>
+ <section data-background-transition="slide" data-background="assets/image1.png" style="background: rgba(255,255,255,0.9)">
+ <h2>Background image</h2>
+ </section>
+ </section>
+
+ <section data-background="assets/image2.png" data-background-size="100px" data-background-repeat="repeat" data-background-color="#111" style="background: rgba(255,255,255,0.9)">
+ <h2>Background image</h2>
+ <pre>data-background-size="100px" data-background-repeat="repeat" data-background-color="#111"</pre>
+ </section>
+
+ <section data-background="#888888">
+ <h2>Same background twice (1/2)</h2>
+ </section>
+ <section data-background="#888888">
+ <h2>Same background twice (2/2)</h2>
+ </section>
+
+ </div>
+
+ </div>
+
+ <script src="../lib/js/head.min.js"></script>
+ <script src="../js/reveal.min.js"></script>
+
+ <script>
+
+ // Full list of configuration options available here:
+ // https://github.com/hakimel/reveal.js#configuration
+ Reveal.initialize({
+ controls: true,
+ progress: true,
+ history: true,
+ center: true,
+ // rtl: true,
+
+ transition: 'linear',
+ // transitionSpeed: 'slow',
+ // backgroundTransition: 'linear'
+ });
+
+ </script>
+
+ </body>
+</html>
diff --git a/examples/media.html b/examples/media.html
new file mode 100644
index 0000000..6e95606
--- /dev/null
+++ b/examples/media.html
@@ -0,0 +1,58 @@
+<!doctype html>
+<html lang="en">
+
+ <head>
+ <meta charset="utf-8">
+
+ <title>reveal.js - Test</title>
+
+ <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
+
+ <link rel="stylesheet" href="../css/reveal.min.css">
+ <link rel="stylesheet" href="../css/theme/default.css" id="theme">
+ </head>
+
+ <body>
+
+ <div class="reveal">
+
+ <div class="slides">
+
+ <section>
+ <h2>Embedded Media Test</h2>
+ </section>
+
+ <section>
+ <iframe data-autoplay width="420" height="345" src="http://www.youtube.com/embed/l3RQZ4mcr1c"></iframe>
+ </section>
+
+ <section>
+ <h2>Empty Slide</h2>
+ </section>
+
+ </div>
+
+ </div>
+
+ <script src="../lib/js/head.min.js"></script>
+ <script src="../js/reveal.min.js"></script>
+
+ <script>
+
+ // Full list of configuration options available here:
+ // https://github.com/hakimel/reveal.js#configuration
+ Reveal.initialize({
+ controls: true,
+ progress: true,
+ history: true,
+ center: true,
+
+ transition: 'linear',
+ // transitionSpeed: 'slow',
+ // backgroundTransition: 'linear'
+ });
+
+ </script>
+
+ </body>
+</html>