index.html 13 KB

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