Browse Source

add barebones example

embed
Hakim El Hattab 11 years ago
parent
commit
b292c6f3f4
  1. 42
      examples/barebones.html
  2. 13
      examples/embedded-media.html
  3. 5
      examples/slide-backgrounds.html

42
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>

13
examples/media.html → 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>

5
examples/background.html → 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,
Loading…
Cancel
Save