index.html 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375
  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>rvl.io</h2>
  85. <p>
  86. 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>.
  87. </p>
  88. </section>
  89. <section>
  90. <h2>Works in Mobile Safari</h2>
  91. <p>
  92. Try it out! You can swipe through the slides pinch your way to the overview.
  93. </p>
  94. </section>
  95. <section>
  96. <h2>Marvelous Unordered List</h2>
  97. <ul>
  98. <li>No order here</li>
  99. <li>Or here</li>
  100. <li>Or here</li>
  101. <li>Or here</li>
  102. </ul>
  103. </section>
  104. <section>
  105. <h2>Fantastic Ordered List</h2>
  106. <ol>
  107. <li>One is smaller than...</li>
  108. <li>Two is smaller than...</li>
  109. <li>Three!</li>
  110. </ol>
  111. </section>
  112. <section data-markdown>
  113. ## Markdown support
  114. 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).
  115. <pre><code contenteditable style="margin-top: 20px;">&lt;section data-markdown&gt;
  116. ## Markdown support
  117. For those of you who like that sort of thing.
  118. Instructions and a bit more info available [here](https://github.com/hakimel/reveal.js#markdown).
  119. &lt;/section&gt;
  120. </code></pre>
  121. </section>
  122. <section>
  123. <h2>Transition Styles</h2>
  124. <p>
  125. You can select from different transitions, like: <br>
  126. <a href="http://lab.hakim.se/reveal-js/?transition=cube">Cube</a> -
  127. <a href="http://lab.hakim.se/reveal-js/?transition=page">Page</a> -
  128. <a href="http://lab.hakim.se/reveal-js/?transition=concave">Concave</a> -
  129. <a href="http://lab.hakim.se/reveal-js/?transition=linear">Linear</a>
  130. </p>
  131. </section>
  132. <section>
  133. <h2>Themes</h2>
  134. <p>
  135. Reveal.js comes with a few themes built in: <br>
  136. <a href="http://lab.hakim.se/reveal-js/?theme=sky">Sky</a> -
  137. <a href="http://lab.hakim.se/reveal-js/?theme=beige">Beige</a> -
  138. <a href="http://lab.hakim.se/reveal-js/?theme=simple">Simple</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://hakim.se/experiments/html5/breakdom/" target="_blank">
  230. <img width="320" height="412" src="https://s3.amazonaws.com/hakim-static/reveal-js/breakdom.png" alt="BreakDOM game screenshot">
  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>Stellar Links</h2>
  243. <ul>
  244. <li><a href="https://github.com/hakimel/reveal.js">Source code on GitHub</a></li>
  245. <li><a href="http://hakim.se/projects/reveal-js">Leave feedback on my site</a></li>
  246. <li><a href="http://twitter.com/hakimel">Follow me on Twitter</a></li>
  247. </ul>
  248. </section>
  249. <section>
  250. <h1>THE END</h1>
  251. <h3>BY Hakim El Hattab / hakim.se</h3>
  252. </section>
  253. </div>
  254. <!-- The navigational controls UI -->
  255. <aside class="controls">
  256. <a class="left" href="#">&#x25C4;</a>
  257. <a class="right" href="#">&#x25BA;</a>
  258. <a class="up" href="#">&#x25B2;</a>
  259. <a class="down" href="#">&#x25BC;</a>
  260. </aside>
  261. <!-- Presentation progress bar -->
  262. <div class="progress"><span></span></div>
  263. </div>
  264. <script src="lib/js/head.min.js"></script>
  265. <script src="js/reveal.min.js"></script>
  266. <script>
  267. // Full list of configuration options available here:
  268. // https://github.com/hakimel/reveal.js#configuration
  269. Reveal.initialize({
  270. controls: true,
  271. progress: true,
  272. history: true,
  273. theme: Reveal.getQueryHash().theme || 'default', // available themes are in /css/theme
  274. transition: Reveal.getQueryHash().transition || 'default', // default/cube/page/concave/linear(2d)
  275. // Optional libraries used to extend on reveal.js
  276. dependencies: [
  277. { src: 'lib/js/highlight.js', async: true, callback: function() { window.hljs.initHighlightingOnLoad(); } },
  278. { src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
  279. { src: 'lib/js/showdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
  280. { src: 'lib/js/data-markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
  281. { src: '/socket.io/socket.io.js', async: true, condition: function() { return window.location.host === 'localhost:1947'; } },
  282. { src: 'plugin/speakernotes/client.js', async: true, condition: function() { return window.location.host === 'localhost:1947'; } },
  283. ]
  284. });
  285. </script>
  286. <!-- Everything below this point is unrelated to the slideshow -->
  287. <div class="share-reveal" style="position: absolute; bottom: 10px; left: 50%; margin-left: -160px">
  288. <a href="http://twitter.com/share" class="twitter-share-button" data-text="reveal.js - an HTML presentation framework from @hakimel." data-url="http://lab.hakim.se/reveal-js" data-count="small" data-related="hakimel"></a>
  289. <iframe id="facebook-button" src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fapp.hakim.se%2Freveal-js%2F&layout=button_count&show_faces=false&width=93&action=like&font=arial&colorscheme=light&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:85px; height:24px; position: relative; top: 4px;" allowTransparency="true"></iframe>
  290. <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
  291. <script type="text/javascript">
  292. /* <![CDATA[ */
  293. (function() {
  294. var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
  295. s.type = 'text/javascript';
  296. s.async = true;
  297. s.src = 'http://api.flattr.com/js/0.6/load.js?mode=auto';
  298. t.parentNode.insertBefore(s, t);
  299. })();
  300. /* ]]> */
  301. </script>
  302. <a class="FlattrButton" style="display:none;" rev="flattr;button:compact;" href="http://lab.hakim.se/reveal-js"></a>
  303. <noscript><a href="http://flattr.com/thing/447435/Reveal-js" target="_blank">
  304. <img src="http://api.flattr.com/button/flattr-badge-large.png" alt="Flattr this" title="Flattr this" border="0" /></a></noscript>
  305. </div>
  306. <a class="fork-reveal" href="https://github.com/hakimel/reveal.js"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://a248.e.akamai.net/camo.github.com/e6bef7a091f5f3138b8cd40bc3e114258dd68ddf/687474703a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f7265645f6161303030302e706e67" alt="Fork me on GitHub"></a>
  307. <script>
  308. var _gaq = [['_setAccount', 'UA-15240703-1'], ['_trackPageview']];
  309. (function(d, t) {
  310. var g = d.createElement(t),
  311. s = d.getElementsByTagName(t)[0];
  312. g.async = true;
  313. g.src = ('https:' == location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  314. s.parentNode.insertBefore(g, s);
  315. })(document, 'script');
  316. </script>
  317. </body>
  318. </html>