index.html 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>reveal.js - The HTML Presentation Framework</title>
  6. <meta name="description" content="A framework for easily creating beautiful presentations using HTML">
  7. <meta name="author" content="Hakim El Hattab">
  8. <meta name="apple-mobile-web-app-capable" content="yes" />
  9. <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
  10. <link href='http://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
  11. <link rel="stylesheet" href="css/main.css">
  12. <link rel="stylesheet" href="css/theme/default.css" id="theme">
  13. <!-- For syntax highlighting -->
  14. <link rel="stylesheet" href="lib/css/zenburn.css">
  15. <script>
  16. // If the query includes 'print-pdf' we'll use the PDF print sheet
  17. document.write( '<link rel="stylesheet" href="css/print/' + ( window.location.search.match( /print-pdf/gi ) ? 'pdf' : 'paper' ) + '.css" type="text/css" media="print">' );
  18. </script>
  19. <!--[if lt IE 9]>
  20. <script src="lib/js/html5shiv.js"></script>
  21. <![endif]-->
  22. </head>
  23. <body>
  24. <div class="reveal">
  25. <!-- Used to fade in a background when a specific slide state is reached -->
  26. <div class="state-background"></div>
  27. <!-- Any section element inside of this container is displayed as a slide -->
  28. <div class="slides">
  29. <section>
  30. <h1>Reveal.js</h1>
  31. <h3>HTML Presentations Made Easy</h3>
  32. </section>
  33. <section>
  34. <h2>Heads Up</h2>
  35. <p>
  36. reveal.js is a framework for easily creating beautiful presentations using HTML. You'll need a browser with
  37. support for CSS 3D transforms to see it in its full glory.
  38. </p>
  39. <p>
  40. <i><small>- <a href="http://hakim.se">Hakim El Hattab</a> / <a href="http://twitter.com/hakimel">@hakimel</a></small></i>
  41. </p>
  42. <aside class="notes">
  43. Oh hey, these are some notes. They'll be hidden in your presentation, but you can see them if you run the speaker notes server.
  44. </aside>
  45. </section>
  46. <!-- Example of nested vertical slides -->
  47. <section>
  48. <section>
  49. <h2>Vertical Slides</h2>
  50. <p>
  51. Slides can be nested inside of other slides,
  52. try pressing <a href="#/2/1">down</a>.
  53. </p>
  54. <a href="#/2/1" class="image">
  55. <img width="178" height="238" src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Down arrow">
  56. </a>
  57. </section>
  58. <section>
  59. <h2>Basement Level 1</h2>
  60. <p>Press down or up to navigate.</p>
  61. </section>
  62. <section>
  63. <h2>Basement Level 2</h2>
  64. <p>Cornify</p>
  65. <a class="test" href="http://cornify.com">
  66. <img width="280" height="326" src="https://s3.amazonaws.com/hakim-static/reveal-js/cornify.gif" alt="Unicorn">
  67. </a>
  68. </section>
  69. <section>
  70. <h2>Basement Level 3</h2>
  71. <p>That's it, time to go back up.</p>
  72. <a href="#/2" class="image">
  73. <img width="178" height="238" src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Up arrow" style="-webkit-transform: rotate(180deg);">
  74. </a>
  75. </section>
  76. </section>
  77. <section>
  78. <h2>Holistic Overview</h2>
  79. <p>
  80. Press <strong>ESC</strong> to enter the slide overview!
  81. </p>
  82. </section>
  83. <section>
  84. <h2>Works in Mobile Safari</h2>
  85. <p>
  86. Try it out! You can swipe through the slides pinch your way to the overview.
  87. </p>
  88. </section>
  89. <section>
  90. <h2>Marvelous Unordered List</h2>
  91. <ul>
  92. <li>No order here</li>
  93. <li>Or here</li>
  94. <li>Or here</li>
  95. <li>Or here</li>
  96. </ul>
  97. </section>
  98. <section>
  99. <h2>Fantastic Ordered List</h2>
  100. <ol>
  101. <li>One is smaller than...</li>
  102. <li>Two is smaller than...</li>
  103. <li>Three!</li>
  104. </ol>
  105. </section>
  106. <section data-markdown>
  107. ## Markdown support
  108. For those of you who like that sort of thing. Instructions and a bit more info available [here](https://github.com/hakimel/reveal.js#markdown).
  109. <pre><code contenteditable style="margin-top: 20px;">&lt;section data-markdown&gt;
  110. ## Markdown support
  111. For those of you who like that sort of thing.
  112. Instructions and a bit more info available [here](https://github.com/hakimel/reveal.js#markdown).
  113. &lt;/section&gt;
  114. </code></pre>
  115. </section>
  116. <section>
  117. <h2>Transition Styles</h2>
  118. <p>
  119. You can select from different transitions, like:
  120. </p>
  121. <ul>
  122. <li><a href="http://lab.hakim.se/reveal-js/?transition=cube">Cube</a></li>
  123. <li><a href="http://lab.hakim.se/reveal-js/?transition=page">Page</a></li>
  124. <li><a href="http://lab.hakim.se/reveal-js/?transition=concave">Concave</a></li>
  125. <li><a href="http://lab.hakim.se/reveal-js/?transition=linear">Linear</a></li>
  126. </ul>
  127. </section>
  128. <section>
  129. <h2>Themes</h2>
  130. <p>
  131. Reveal.js comes with a few themes built in: <br>
  132. <a href="http://lab.hakim.se/reveal-js/?theme=sky">Sky</a> |
  133. <a href="http://lab.hakim.se/reveal-js/?theme=beige">Beige</a> |
  134. <a href="http://lab.hakim.se/reveal-js/?theme=simple">Simple</a> |
  135. <a href="http://lab.hakim.se/reveal-js/">Default</a>
  136. </p>
  137. <p>
  138. <small>
  139. * Theme demos are loaded after the presentation which leads to flicker. In production you should load your theme in the <code>&lt;head&gt;</code> using a <code>&lt;link&gt;</code>.
  140. </small>
  141. </p>
  142. </section>
  143. <section>
  144. <section data-state="alert">
  145. <h2>Global State</h2>
  146. <p>
  147. Set <code>data-state="something"</code> on a slide and <code>"something"</code>
  148. will be added as a class to the document element when the slide is open. This lets you
  149. apply broader style changes, like switching the background.
  150. </p>
  151. <a href="#/7/1" class="image">
  152. <img width="178" height="238" src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Down arrow">
  153. </a>
  154. </section>
  155. <section data-state="blackout">
  156. <h2>"blackout"</h2>
  157. <a href="#/7/2" class="image">
  158. <img width="178" height="238" src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Down arrow">
  159. </a>
  160. </section>
  161. <section data-state="soothe">
  162. <h2>"soothe"</h2>
  163. <a href="#/7/0" class="image">
  164. <img width="178" height="238" src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Up arrow" style="-webkit-transform: rotate(180deg);">
  165. </a>
  166. </section>
  167. </section>
  168. <section data-state="customevent">
  169. <h2>Custom Events</h2>
  170. <p>
  171. Additionally custom events can be triggered on a per slide basis by binding to the <code>data-state</code> name.
  172. </p>
  173. <pre><code contenteditable style="font-size: 18px; margin-top: 20px;">Reveal.addEventListener( 'customevent', function() {
  174. console.log( '"customevent" has fired' );
  175. } );
  176. </code></pre>
  177. </section>
  178. <section>
  179. <h2>Clever Quotes</h2>
  180. <p>
  181. These guys come in two forms, inline: <q cite="http://searchservervirtualization.techtarget.com/definition/Our-Favorite-Technology-Quotations">
  182. The nice thing about standards is that there are so many to choose from</q> and block:
  183. </p>
  184. <blockquote cite="http://searchservervirtualization.techtarget.com/definition/Our-Favorite-Technology-Quotations">
  185. For years there has been a theory that millions of monkeys typing at random on millions of typewriters would
  186. reproduce the entire works of Shakespeare. The Internet has proven this theory to be untrue.
  187. </blockquote>
  188. </section>
  189. <section>
  190. <h2>Pretty Code</h2>
  191. <pre><code contenteditable>
  192. function linkify( selector ) {
  193. if( supports3DTransforms ) {
  194. var nodes = document.querySelectorAll( selector );
  195. for( var i = 0, len = nodes.length; i &lt; len; i++ ) {
  196. var node = nodes[i];
  197. if( !node.className ) ) {
  198. node.className += ' roll';
  199. }
  200. };
  201. }
  202. }
  203. </code></pre>
  204. <p>Courtesy of <a href="http://softwaremaniacs.org/soft/highlight/en/description/">highlight.js</a>.</p>
  205. </section>
  206. <section>
  207. <h2>Intergalactic Interconnections</h2>
  208. <p>
  209. You can link between slides internally,
  210. <a href="#/2/3">like this</a>.
  211. </p>
  212. </section>
  213. <section>
  214. <h2>Fragmented Views</h2>
  215. <p>Hit the next arrow...</p>
  216. <p class="fragment">... to step through ...</p>
  217. <ol>
  218. <li class="fragment"><code>any type</code></li>
  219. <li class="fragment"><em>of view</em></li>
  220. <li class="fragment"><strong>fragments</strong></li>
  221. </ol>
  222. </section>
  223. <section>
  224. <h2>Spectacular image!</h2>
  225. <a class="image" href="http://hakim.se/experiments/html5/breakdom/" target="_blank">
  226. <img width="320" height="412" src="https://s3.amazonaws.com/hakim-static/reveal-js/breakdom.png" alt="BreakDOM game screenshot">
  227. </a>
  228. </section>
  229. <section>
  230. <h2>Export to PDF</h2>
  231. <p>Presentations can be <a href="https://github.com/hakimel/reveal.js#pdf-export">exported to PDF</a>, below is an example that's been uploaded to SlideShare.</p>
  232. <iframe id="slideshare" src="http://www.slideshare.net/slideshow/embed_code/13872948" width="455" height="356" style="margin:0;overflow:hidden;border:1px solid #CCC;border-width:1px 1px 0;margin-bottom:5px" allowfullscreen> </iframe>
  233. <script>
  234. document.getElementById('slideshare').attributeName = 'allowfullscreen';
  235. </script>
  236. </section>
  237. <section>
  238. <h2>Stellar Links</h2>
  239. <ul>
  240. <li><a href="https://github.com/hakimel/reveal.js">Source code on github</a></li>
  241. <li><a href="http://hakim.se/projects/reveal-js">Read more on my site</a></li>
  242. <li><a href="http://twitter.com/hakimel">Follow me on Twitter</a></li>
  243. </ul>
  244. </section>
  245. <section>
  246. <h1>THE END</h1>
  247. <h3>BY Hakim El Hattab / hakim.se</h3>
  248. </section>
  249. </div>
  250. <!-- The navigational controls UI -->
  251. <aside class="controls">
  252. <a class="left" href="#">&#x25C4;</a>
  253. <a class="right" href="#">&#x25BA;</a>
  254. <a class="up" href="#">&#x25B2;</a>
  255. <a class="down" href="#">&#x25BC;</a>
  256. </aside>
  257. <!-- Presentation progress bar -->
  258. <div class="progress"><span></span></div>
  259. </div>
  260. <script src="lib/js/head.min.js"></script>
  261. <script src="js/reveal.min.js"></script>
  262. <script>
  263. // Full list of configuration options available here:
  264. // https://github.com/hakimel/reveal.js#configuration
  265. Reveal.initialize({
  266. controls: true,
  267. progress: true,
  268. history: true,
  269. theme: Reveal.getQueryHash().theme || 'default', // available themes are in /css/theme
  270. transition: Reveal.getQueryHash().transition || 'default', // default/cube/page/concave/linear(2d)
  271. // Optional libraries used to extend on reveal.js
  272. dependencies: [
  273. { src: 'lib/js/highlight.js', async: true, callback: function() { window.hljs.initHighlightingOnLoad(); } },
  274. { src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
  275. { src: 'lib/js/showdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
  276. { src: 'lib/js/data-markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
  277. { src: 'socket.io/socket.io.js', async: true, condition: function() { return window.location.host === 'localhost:1947'; } },
  278. { src: 'plugin/speakernotes/client.js', async: true, condition: function() { return window.location.host === 'localhost:1947'; } },
  279. ]
  280. });
  281. </script>
  282. </body>
  283. </html>