index.html 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330
  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: <br>
  120. <a href="http://lab.hakim.se/reveal-js/?transition=cube">Cube</a> -
  121. <a href="http://lab.hakim.se/reveal-js/?transition=page">Page</a> -
  122. <a href="http://lab.hakim.se/reveal-js/?transition=concave">Concave</a> -
  123. <a href="http://lab.hakim.se/reveal-js/?transition=linear">Linear</a>
  124. </p>
  125. </section>
  126. <section>
  127. <h2>Themes</h2>
  128. <p>
  129. Reveal.js comes with a few themes built in: <br>
  130. <a href="http://lab.hakim.se/reveal-js/?theme=sky">Sky</a> -
  131. <a href="http://lab.hakim.se/reveal-js/?theme=beige">Beige</a> -
  132. <a href="http://lab.hakim.se/reveal-js/?theme=simple">Simple</a> -
  133. <a href="http://lab.hakim.se/reveal-js/">Default</a>
  134. </p>
  135. <p>
  136. <small>
  137. * 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>.
  138. </small>
  139. </p>
  140. </section>
  141. <section>
  142. <section data-state="alert">
  143. <h2>Global State</h2>
  144. <p>
  145. Set <code>data-state="something"</code> on a slide and <code>"something"</code>
  146. will be added as a class to the document element when the slide is open. This lets you
  147. apply broader style changes, like switching the background.
  148. </p>
  149. <a href="#/7/1" class="image">
  150. <img width="178" height="238" src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Down arrow">
  151. </a>
  152. </section>
  153. <section data-state="blackout">
  154. <h2>"blackout"</h2>
  155. <a href="#/7/2" class="image">
  156. <img width="178" height="238" src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Down arrow">
  157. </a>
  158. </section>
  159. <section data-state="soothe">
  160. <h2>"soothe"</h2>
  161. <a href="#/7/0" class="image">
  162. <img width="178" height="238" src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Up arrow" style="-webkit-transform: rotate(180deg);">
  163. </a>
  164. </section>
  165. </section>
  166. <section data-state="customevent">
  167. <h2>Custom Events</h2>
  168. <p>
  169. Additionally custom events can be triggered on a per slide basis by binding to the <code>data-state</code> name.
  170. </p>
  171. <pre><code contenteditable style="font-size: 18px; margin-top: 20px;">Reveal.addEventListener( 'customevent', function() {
  172. console.log( '"customevent" has fired' );
  173. } );
  174. </code></pre>
  175. </section>
  176. <section>
  177. <h2>Clever Quotes</h2>
  178. <p>
  179. These guys come in two forms, inline: <q cite="http://searchservervirtualization.techtarget.com/definition/Our-Favorite-Technology-Quotations">
  180. The nice thing about standards is that there are so many to choose from</q> and block:
  181. </p>
  182. <blockquote cite="http://searchservervirtualization.techtarget.com/definition/Our-Favorite-Technology-Quotations">
  183. For years there has been a theory that millions of monkeys typing at random on millions of typewriters would
  184. reproduce the entire works of Shakespeare. The Internet has proven this theory to be untrue.
  185. </blockquote>
  186. </section>
  187. <section>
  188. <h2>Pretty Code</h2>
  189. <pre><code contenteditable>
  190. function linkify( selector ) {
  191. if( supports3DTransforms ) {
  192. var nodes = document.querySelectorAll( selector );
  193. for( var i = 0, len = nodes.length; i &lt; len; i++ ) {
  194. var node = nodes[i];
  195. if( !node.className ) ) {
  196. node.className += ' roll';
  197. }
  198. };
  199. }
  200. }
  201. </code></pre>
  202. <p>Courtesy of <a href="http://softwaremaniacs.org/soft/highlight/en/description/">highlight.js</a>.</p>
  203. </section>
  204. <section>
  205. <h2>Intergalactic Interconnections</h2>
  206. <p>
  207. You can link between slides internally,
  208. <a href="#/2/3">like this</a>.
  209. </p>
  210. </section>
  211. <section>
  212. <h2>Fragmented Views</h2>
  213. <p>Hit the next arrow...</p>
  214. <p class="fragment">... to step through ...</p>
  215. <ol>
  216. <li class="fragment"><code>any type</code></li>
  217. <li class="fragment"><em>of view</em></li>
  218. <li class="fragment"><strong>fragments</strong></li>
  219. </ol>
  220. </section>
  221. <section>
  222. <h2>Spectacular image!</h2>
  223. <a class="image" href="http://hakim.se/experiments/html5/breakdom/" target="_blank">
  224. <img width="320" height="412" src="https://s3.amazonaws.com/hakim-static/reveal-js/breakdom.png" alt="BreakDOM game screenshot">
  225. </a>
  226. </section>
  227. <section>
  228. <h2>Export to PDF</h2>
  229. <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>
  230. <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>
  231. <script>
  232. document.getElementById('slideshare').attributeName = 'allowfullscreen';
  233. </script>
  234. </section>
  235. <section>
  236. <h2>Stellar Links</h2>
  237. <ul>
  238. <li><a href="https://github.com/hakimel/reveal.js">Source code on github</a></li>
  239. <li><a href="http://hakim.se/projects/reveal-js">Read more on my site</a></li>
  240. <li><a href="http://twitter.com/hakimel">Follow me on Twitter</a></li>
  241. </ul>
  242. </section>
  243. <section>
  244. <h1>THE END</h1>
  245. <h3>BY Hakim El Hattab / hakim.se</h3>
  246. </section>
  247. </div>
  248. <!-- The navigational controls UI -->
  249. <aside class="controls">
  250. <a class="left" href="#">&#x25C4;</a>
  251. <a class="right" href="#">&#x25BA;</a>
  252. <a class="up" href="#">&#x25B2;</a>
  253. <a class="down" href="#">&#x25BC;</a>
  254. </aside>
  255. <!-- Presentation progress bar -->
  256. <div class="progress"><span></span></div>
  257. </div>
  258. <script src="lib/js/head.min.js"></script>
  259. <script src="js/reveal.min.js"></script>
  260. <script>
  261. // Full list of configuration options available here:
  262. // https://github.com/hakimel/reveal.js#configuration
  263. Reveal.initialize({
  264. controls: true,
  265. progress: true,
  266. history: true,
  267. theme: Reveal.getQueryHash().theme || 'default', // available themes are in /css/theme
  268. transition: Reveal.getQueryHash().transition || 'default', // default/cube/page/concave/linear(2d)
  269. // Optional libraries used to extend on reveal.js
  270. dependencies: [
  271. { src: 'lib/js/highlight.js', async: true, callback: function() { window.hljs.initHighlightingOnLoad(); } },
  272. { src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
  273. { src: 'lib/js/showdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
  274. { src: 'lib/js/data-markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
  275. { src: 'socket.io/socket.io.js', async: true, condition: function() { return window.location.host === 'localhost:1947'; } },
  276. { src: 'plugin/speakernotes/client.js', async: true, condition: function() { return window.location.host === 'localhost:1947'; } },
  277. ]
  278. });
  279. </script>
  280. </body>
  281. </html>