From b292c6f3f4526ef93ef96cbf4092a86bfadbbc85 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab <hakim.elhattab@gmail.com> Date: Sat, 29 Jun 2013 21:48:56 -0400 Subject: [PATCH] add barebones example --- examples/barebones.html | 42 +++++++++++++++++++ examples/{media.html => embedded-media.html} | 13 +----- ...background.html => slide-backgrounds.html} | 5 +-- 3 files changed, 45 insertions(+), 15 deletions(-) create mode 100644 examples/barebones.html rename examples/{media.html => embedded-media.html} (71%) rename examples/{background.html => slide-backgrounds.html} (96%) diff --git a/examples/barebones.html b/examples/barebones.html new file mode 100644 index 0000000..7a1dcee --- /dev/null +++ b/examples/barebones.html @@ -0,0 +1,42 @@ +<!doctype html> +<html lang="en"> + + <head> + <meta charset="utf-8"> + + <title>reveal.js - Barebones</title> + + <link rel="stylesheet" href="../css/reveal.min.css"> + </head> + + <body> + + <div class="reveal"> + + <div class="slides"> + + <section> + <h2>Barebones Presentation</h2> + <p>This example contains the bare minimum includes and markup required to run a reveal.js presentation.</p> + </section> + + <section> + <h2>No Theme</h2> + <p>There's no theme included, so it will fall back on browser defaults.</p> + </section> + + </div> + + </div> + + <script src="../lib/js/head.min.js"></script> + <script src="../js/reveal.min.js"></script> + + <script> + + Reveal.initialize(); + + </script> + + </body> +</html> diff --git a/examples/media.html b/examples/embedded-media.html similarity index 71% rename from examples/media.html rename to examples/embedded-media.html index 6e95606..f3bcae4 100644 --- a/examples/media.html +++ b/examples/embedded-media.html @@ -4,7 +4,7 @@ <head> <meta charset="utf-8"> - <title>reveal.js - Test</title> + <title>reveal.js - Embedded Media</title> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> @@ -39,17 +39,8 @@ <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' + transition: 'linear' }); </script> diff --git a/examples/background.html b/examples/slide-backgrounds.html similarity index 96% rename from examples/background.html rename to examples/slide-backgrounds.html index da2b947..fbbdd3a 100644 --- a/examples/background.html +++ b/examples/slide-backgrounds.html @@ -4,7 +4,7 @@ <head> <meta charset="utf-8"> - <title>reveal.js - Test</title> + <title>reveal.js - Slide Backgrounds</title> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> @@ -87,9 +87,6 @@ // 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, -- GitLab