index.html 11 KB

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