index.html 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354
  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/reveal.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. <!-- If the query includes 'print-pdf', use the PDF print sheet -->
  16. <script>
  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. <!-- Any section element inside of this container is displayed as a slide -->
  26. <div class="slides">
  27. <section>
  28. <h1>Reveal.js</h1>
  29. <h3>HTML Presentations Made Easy</h3>
  30. </section>
  31. <section>
  32. <h2>Heads Up</h2>
  33. <p>
  34. reveal.js is a framework for easily creating beautiful presentations using HTML. You'll need a browser with
  35. support for CSS 3D transforms to see it in its full glory.
  36. </p>
  37. <p>
  38. <i><small>- <a href="http://hakim.se">Hakim El Hattab</a> / <a href="http://twitter.com/hakimel">@hakimel</a></small></i>
  39. </p>
  40. <aside class="notes">
  41. 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.
  42. </aside>
  43. </section>
  44. <!-- Example of nested vertical slides -->
  45. <section>
  46. <section>
  47. <h2>Vertical Slides</h2>
  48. <p>
  49. Slides can be nested inside of other slides,
  50. try pressing <a href="#/2/1">down</a>.
  51. </p>
  52. <a href="#/2/1" class="image">
  53. <img width="178" height="238" src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Down arrow">
  54. </a>
  55. </section>
  56. <section>
  57. <h2>Basement Level 1</h2>
  58. <p>Press down or up to navigate.</p>
  59. </section>
  60. <section>
  61. <h2>Basement Level 2</h2>
  62. <p>Cornify</p>
  63. <a class="test" href="http://cornify.com">
  64. <img width="280" height="326" src="https://s3.amazonaws.com/hakim-static/reveal-js/cornify.gif" alt="Unicorn">
  65. </a>
  66. </section>
  67. <section>
  68. <h2>Basement Level 3</h2>
  69. <p>That's it, time to go back up.</p>
  70. <a href="#/2" class="image">
  71. <img width="178" height="238" src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Up arrow" style="-webkit-transform: rotate(180deg);">
  72. </a>
  73. </section>
  74. </section>
  75. <section>
  76. <h2>Point of View</h2>
  77. <p>
  78. Press <strong>ESC</strong> to enter the slide overview. Hold down alt and click on any element to zoom in on it using <a href="http://lab.hakim.se/zoom-js">zoom.js</a>. Alt + click anywhere to zoom back out.
  79. </p>
  80. </section>
  81. <section>
  82. <h2>rvl.io</h2>
  83. <p>
  84. If you don't like writing slides in HTML you can use the online editor <a href="http://www.rvl.io" target="_blank">rvl.io</a>.
  85. </p>
  86. </section>
  87. <section>
  88. <h2>Works in Mobile Safari</h2>
  89. <p>
  90. Try it out! You can swipe through the slides and pinch your way to the overview.
  91. </p>
  92. </section>
  93. <section>
  94. <h2>Marvelous Unordered List</h2>
  95. <ul>
  96. <li>No order here</li>
  97. <li>Or here</li>
  98. <li>Or here</li>
  99. <li>Or here</li>
  100. </ul>
  101. </section>
  102. <section>
  103. <h2>Fantastic Ordered List</h2>
  104. <ol>
  105. <li>One is smaller than...</li>
  106. <li>Two is smaller than...</li>
  107. <li>Three!</li>
  108. </ol>
  109. </section>
  110. <section data-markdown>
  111. <script type="text/template">
  112. ## Markdown support
  113. 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).
  114. <section data-markdown>
  115. ## Markdown support
  116. For those of you who like that sort of thing.
  117. Instructions and a bit more info available [here](https://github.com/hakimel/reveal.js#markdown).
  118. </section>
  119. </script>
  120. </section>
  121. <section>
  122. <h2>Transition Styles</h2>
  123. <p>
  124. You can select from different transitions, like: <br>
  125. <a href="http://lab.hakim.se/reveal-js/?transition=cube">Cube</a> -
  126. <a href="http://lab.hakim.se/reveal-js/?transition=page">Page</a> -
  127. <a href="http://lab.hakim.se/reveal-js/?transition=concave">Concave</a> -
  128. <a href="http://lab.hakim.se/reveal-js/?transition=linear">Linear</a>
  129. </p>
  130. </section>
  131. <section>
  132. <h2>Themes</h2>
  133. <p>
  134. Reveal.js comes with a few themes built in: <br>
  135. <a href="http://lab.hakim.se/reveal-js/?theme=sky">Sky</a> -
  136. <a href="http://lab.hakim.se/reveal-js/?theme=beige">Beige</a> -
  137. <a href="http://lab.hakim.se/reveal-js/?theme=simple">Simple</a> -
  138. <a href="http://lab.hakim.se/reveal-js/?theme=serif">Serif</a> -
  139. <a href="http://lab.hakim.se/reveal-js/">Default</a>
  140. </p>
  141. <p>
  142. <small>
  143. * 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>.
  144. </small>
  145. </p>
  146. </section>
  147. <section>
  148. <section data-state="alert">
  149. <h2>Global State</h2>
  150. <p>
  151. Set <code>data-state="something"</code> on a slide and <code>"something"</code>
  152. will be added as a class to the document element when the slide is open. This lets you
  153. apply broader style changes, like switching the background.
  154. </p>
  155. <a href="#/7/1" 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="blackout">
  160. <h2>"blackout"</h2>
  161. <a href="#/7/2" class="image">
  162. <img width="178" height="238" src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Down arrow">
  163. </a>
  164. </section>
  165. <section data-state="soothe">
  166. <h2>"soothe"</h2>
  167. <a href="#/7/0" class="image">
  168. <img width="178" height="238" src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Up arrow" style="-webkit-transform: rotate(180deg);">
  169. </a>
  170. </section>
  171. </section>
  172. <section data-state="customevent">
  173. <h2>Custom Events</h2>
  174. <p>
  175. Additionally custom events can be triggered on a per slide basis by binding to the <code>data-state</code> name.
  176. </p>
  177. <pre><code contenteditable style="font-size: 18px; margin-top: 20px;">Reveal.addEventListener( 'customevent', function() {
  178. console.log( '"customevent" has fired' );
  179. } );
  180. </code></pre>
  181. </section>
  182. <section>
  183. <h2>Clever Quotes</h2>
  184. <p>
  185. These guys come in two forms, inline: <q cite="http://searchservervirtualization.techtarget.com/definition/Our-Favorite-Technology-Quotations">
  186. The nice thing about standards is that there are so many to choose from</q> and block:
  187. </p>
  188. <blockquote cite="http://searchservervirtualization.techtarget.com/definition/Our-Favorite-Technology-Quotations">
  189. For years there has been a theory that millions of monkeys typing at random on millions of typewriters would
  190. reproduce the entire works of Shakespeare. The Internet has proven this theory to be untrue.
  191. </blockquote>
  192. </section>
  193. <section>
  194. <h2>Pretty Code</h2>
  195. <pre><code contenteditable>
  196. function linkify( selector ) {
  197. if( supports3DTransforms ) {
  198. var nodes = document.querySelectorAll( selector );
  199. for( var i = 0, len = nodes.length; i &lt; len; i++ ) {
  200. var node = nodes[i];
  201. if( !node.className ) ) {
  202. node.className += ' roll';
  203. }
  204. };
  205. }
  206. }
  207. </code></pre>
  208. <p>Courtesy of <a href="http://softwaremaniacs.org/soft/highlight/en/description/">highlight.js</a>.</p>
  209. </section>
  210. <section>
  211. <h2>Intergalactic Interconnections</h2>
  212. <p>
  213. You can link between slides internally,
  214. <a href="#/2/3">like this</a>.
  215. </p>
  216. </section>
  217. <section>
  218. <h2>Fragmented Views</h2>
  219. <p>Hit the next arrow...</p>
  220. <p class="fragment">... to step through ...</p>
  221. <ol>
  222. <li class="fragment"><code>any type</code></li>
  223. <li class="fragment"><em>of view</em></li>
  224. <li class="fragment"><strong>fragments</strong></li>
  225. </ol>
  226. </section>
  227. <section>
  228. <h2>Spectacular image!</h2>
  229. <a class="image" href="http://lab.hakim.se/meny/" target="_blank">
  230. <img width="320" height="299" src="http://s3.amazonaws.com/hakim-static/portfolio/images/meny.png" alt="Meny">
  231. </a>
  232. </section>
  233. <section>
  234. <h2>Export to PDF</h2>
  235. <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>
  236. <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>
  237. <script>
  238. document.getElementById('slideshare').attributeName = 'allowfullscreen';
  239. </script>
  240. </section>
  241. <section>
  242. <h2>Take a Moment</h2>
  243. <p>
  244. Press b or period on your keyboard to enter the 'paused' mode. This mode is helpful when you want to take disctracting slides off the screen
  245. during a presentaion.
  246. </p>
  247. </section>
  248. <section>
  249. <h2>Stellar Links</h2>
  250. <ul>
  251. <li><a href="https://github.com/hakimel/reveal.js">Source code on GitHub</a></li>
  252. <li><a href="http://hakim.se/projects/reveal-js">Leave feedback on my site</a></li>
  253. <li><a href="http://twitter.com/hakimel">Follow me on Twitter</a></li>
  254. </ul>
  255. </section>
  256. <section>
  257. <h2>It's free</h2>
  258. <p>
  259. reveal.js and <a href="http://www.rvl.io">rvl.io</a> are entirely free but if you'd like to support the projects you can donate below.
  260. Donations will go towards hosting and domain costs.
  261. </p>
  262. <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
  263. <input type="hidden" name="cmd" value="_donations">
  264. <input type="hidden" name="business" value="hakim.elhattab@gmail.com">
  265. <input type="hidden" name="lc" value="US">
  266. <input type="hidden" name="item_name" value="reveal.js / rvl.io">
  267. <input type="hidden" name="no_note" value="0">
  268. <input type="hidden" name="currency_code" value="USD">
  269. <input type="hidden" name="bn" value="PP-DonationsBF:btn_donate_LG.gif:NonHostedGuest">
  270. <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
  271. </form>
  272. </section>
  273. <section>
  274. <h1>THE END</h1>
  275. <h3>BY Hakim El Hattab / hakim.se</h3>
  276. </section>
  277. </div>
  278. </div>
  279. <script src="lib/js/head.min.js"></script>
  280. <script src="js/reveal.min.js"></script>
  281. <script>
  282. // Full list of configuration options available here:
  283. // https://github.com/hakimel/reveal.js#configuration
  284. Reveal.initialize({
  285. controls: true,
  286. progress: true,
  287. history: true,
  288. theme: Reveal.getQueryHash().theme || 'default', // available themes are in /css/theme
  289. transition: Reveal.getQueryHash().transition || 'default', // default/cube/page/concave/linear(2d)
  290. // Optional libraries used to extend on reveal.js
  291. dependencies: [
  292. { src: 'lib/js/highlight.js', async: true, callback: function() { window.hljs.initHighlightingOnLoad(); } },
  293. { src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
  294. { src: 'lib/js/showdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
  295. { src: 'lib/js/data-markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
  296. { src: 'plugin/zoom-js/zoom.js', condition: function() { return !!document.body.classList; } },
  297. { src: '/socket.io/socket.io.js', async: true, condition: function() { return window.location.host === 'localhost:1947'; } },
  298. { src: 'plugin/speakernotes/client.js', async: true, condition: function() { return window.location.host === 'localhost:1947'; } }
  299. ]
  300. });
  301. </script>
  302. </body>
  303. </html>