index-original.html 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383
  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. <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
  11. <link rel="stylesheet" href="css/reveal.min.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. <p>
  31. <small>Created by <a href="http://hakim.se">Hakim El Hattab</a> / <a href="http://twitter.com/hakimel">@hakimel</a></small>
  32. </p>
  33. </section>
  34. <section>
  35. <h2>Heads Up</h2>
  36. <p>
  37. reveal.js is a framework for easily creating beautiful presentations using HTML. You'll need a browser with
  38. support for CSS 3D transforms to see it in its full glory.
  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 open the speaker notes window (hit 's' on your keyboard).
  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="#" class="navigate-down">down</a>.
  51. </p>
  52. <a href="#" class="image navigate-down">
  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>Slides</h2>
  77. <p>
  78. Not a coder? No problem. There's a fully-featured visual editor for authoring these, try it out at <a href="http://slid.es" target="_blank">http://slid.es</a>.
  79. </p>
  80. </section>
  81. <section>
  82. <h2>Point of View</h2>
  83. <p>
  84. Press <strong>ESC</strong> to enter the slide overview.
  85. </p>
  86. <p>
  87. 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.
  88. </p>
  89. </section>
  90. <section>
  91. <h2>Works in Mobile Safari</h2>
  92. <p>
  93. Try it out! You can swipe through the slides and pinch your way to the overview.
  94. </p>
  95. </section>
  96. <section>
  97. <h2>Marvelous Unordered List</h2>
  98. <ul>
  99. <li>No order here</li>
  100. <li>Or here</li>
  101. <li>Or here</li>
  102. <li>Or here</li>
  103. </ul>
  104. </section>
  105. <section>
  106. <h2>Fantastic Ordered List</h2>
  107. <ol>
  108. <li>One is smaller than...</li>
  109. <li>Two is smaller than...</li>
  110. <li>Three!</li>
  111. </ol>
  112. </section>
  113. <section data-markdown>
  114. <script type="text/template">
  115. ## Markdown support
  116. 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).
  117. ```
  118. <section data-markdown>
  119. ## Markdown support
  120. For those of you who like that sort of thing.
  121. Instructions and a bit more info available [here](https://github.com/hakimel/reveal.js#markdown).
  122. </section>
  123. ```
  124. </script>
  125. </section>
  126. <section id="transitions">
  127. <h2>Transition Styles</h2>
  128. <p>
  129. You can select from different transitions, like: <br>
  130. <a href="?transition=cube#/transitions">Cube</a> -
  131. <a href="?transition=page#/transitions">Page</a> -
  132. <a href="?transition=concave#/transitions">Concave</a> -
  133. <a href="?transition=zoom#/transitions">Zoom</a> -
  134. <a href="?transition=linear#/transitions">Linear</a> -
  135. <a href="?transition=fade#/transitions">Fade</a> -
  136. <a href="?transition=none#/transitions">None</a> -
  137. <a href="?#/transitions">Default</a>
  138. </p>
  139. </section>
  140. <section id="themes">
  141. <h2>Themes</h2>
  142. <p>
  143. Reveal.js comes with a few themes built in: <br>
  144. <a href="?#/themes">Default</a> -
  145. <a href="?theme=sky#/themes">Sky</a> -
  146. <a href="?theme=beige#/themes">Beige</a> -
  147. <a href="?theme=simple#/themes">Simple</a> -
  148. <a href="?theme=serif#/themes">Serif</a> -
  149. <a href="?theme=night#/themes">Night</a> <br>
  150. <a href="?theme=moon.css#/themes">Moon</a> -
  151. <a href="?theme=simple.css#/themes">Simple</a> -
  152. <a href="?theme=solarized.css#/themes">Solarized</a>
  153. </p>
  154. <p>
  155. <small>
  156. * 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>.
  157. </small>
  158. </p>
  159. </section>
  160. <section>
  161. <h2>Global State</h2>
  162. <p>
  163. Set <code>data-state="something"</code> on a slide and <code>"something"</code>
  164. will be added as a class to the document element when the slide is open. This lets you
  165. apply broader style changes, like switching the background.
  166. </p>
  167. </section>
  168. <section data-state="customevent">
  169. <h2>Custom Events</h2>
  170. <p>
  171. Additionally custom events can be triggered on a per slide basis by binding to the <code>data-state</code> name.
  172. </p>
  173. <pre><code data-trim contenteditable style="font-size: 18px; margin-top: 20px;">
  174. Reveal.addEventListener( 'customevent', function() {
  175. console.log( '"customevent" has fired' );
  176. } );
  177. </code></pre>
  178. </section>
  179. <section>
  180. <section data-background="#007777">
  181. <h2>Slide Backgrounds</h2>
  182. <p>
  183. Set <code>data-background="#007777"</code> on a slide to change the full page background to the given color. All CSS color formats are supported.
  184. </p>
  185. <a href="#" class="image navigate-down">
  186. <img width="178" height="238" src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Down arrow">
  187. </a>
  188. </section>
  189. <section data-background="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png">
  190. <h2>Image Backgrounds</h2>
  191. <pre><code>&lt;section data-background="image.png"&gt;</code></pre>
  192. </section>
  193. <section data-background="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" data-background-repeat="repeat" data-background-size="100px">
  194. <h2>Repeated Image Backgrounds</h2>
  195. <pre><code style="word-wrap: break-word;">&lt;section data-background="image.png" data-background-repeat="repeat" data-background-size="100px"&gt;</code></pre>
  196. </section>
  197. </section>
  198. <section data-transition="linear" data-background="#4d7e65" data-background-transition="slide">
  199. <h2>Background Transitions</h2>
  200. <p>
  201. Pass reveal.js the <code>backgroundTransition: 'slide'</code> config argument to make backgrounds slide rather than fade.
  202. </p>
  203. </section>
  204. <section data-transition="linear" data-background="#8c4738" data-background-transition="slide">
  205. <h2>Background Transition Override</h2>
  206. <p>
  207. You can override background transitions per slide by using <code>data-background-transition="slide"</code>.
  208. </p>
  209. </section>
  210. <section>
  211. <h2>Clever Quotes</h2>
  212. <p>
  213. These guys come in two forms, inline: <q cite="http://searchservervirtualization.techtarget.com/definition/Our-Favorite-Technology-Quotations">
  214. &ldquo;The nice thing about standards is that there are so many to choose from&rdquo;</q> and block:
  215. </p>
  216. <blockquote cite="http://searchservervirtualization.techtarget.com/definition/Our-Favorite-Technology-Quotations">
  217. &ldquo;For years there has been a theory that millions of monkeys typing at random on millions of typewriters would
  218. reproduce the entire works of Shakespeare. The Internet has proven this theory to be untrue.&rdquo;
  219. </blockquote>
  220. </section>
  221. <section>
  222. <h2>Pretty Code</h2>
  223. <pre><code data-trim contenteditable>
  224. function linkify( selector ) {
  225. if( supports3DTransforms ) {
  226. var nodes = document.querySelectorAll( selector );
  227. for( var i = 0, len = nodes.length; i &lt; len; i++ ) {
  228. var node = nodes[i];
  229. if( !node.className ) {
  230. node.className += ' roll';
  231. }
  232. }
  233. }
  234. }
  235. </code></pre>
  236. <p>Courtesy of <a href="http://softwaremaniacs.org/soft/highlight/en/description/">highlight.js</a>.</p>
  237. </section>
  238. <section>
  239. <h2>Intergalactic Interconnections</h2>
  240. <p>
  241. You can link between slides internally,
  242. <a href="#/2/3">like this</a>.
  243. </p>
  244. </section>
  245. <section>
  246. <section>
  247. <h2>Fragmented Views</h2>
  248. <p>Hit the next arrow...</p>
  249. <p class="fragment">... to step through ...</p>
  250. <ol>
  251. <li class="fragment"><code>any type</code></li>
  252. <li class="fragment"><em>of view</em></li>
  253. <li class="fragment"><strong>fragments</strong></li>
  254. </ol>
  255. <aside class="notes">
  256. This slide has fragments which are also stepped through in the notes window.
  257. </aside>
  258. </section>
  259. <section>
  260. <h2>Fragment Styles</h2>
  261. <p>There's a few styles of fragments, like:</p>
  262. <p class="fragment grow">grow</p>
  263. <p class="fragment shrink">shrink</p>
  264. <p class="fragment roll-in">roll-in</p>
  265. <p class="fragment fade-out">fade-out</p>
  266. <p class="fragment highlight-red">highlight-red</p>
  267. <p class="fragment highlight-green">highlight-green</p>
  268. <p class="fragment highlight-blue">highlight-blue</p>
  269. </section>
  270. </section>
  271. <section>
  272. <h2>Spectacular image!</h2>
  273. <a class="image" href="http://lab.hakim.se/meny/" target="_blank">
  274. <img width="320" height="299" src="http://s3.amazonaws.com/hakim-static/portfolio/images/meny.png" alt="Meny">
  275. </a>
  276. </section>
  277. <section>
  278. <h2>Export to PDF</h2>
  279. <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>
  280. <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>
  281. <script>
  282. document.getElementById('slideshare').attributeName = 'allowfullscreen';
  283. </script>
  284. </section>
  285. <section>
  286. <h2>Take a Moment</h2>
  287. <p>
  288. 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
  289. during a presentation.
  290. </p>
  291. </section>
  292. <section>
  293. <h2>Stellar Links</h2>
  294. <ul>
  295. <li><a href="http://slid.es">Try the online editor</a></li>
  296. <li><a href="https://github.com/hakimel/reveal.js">Source code on GitHub</a></li>
  297. <li><a href="http://twitter.com/hakimel">Follow me on Twitter</a></li>
  298. </ul>
  299. </section>
  300. <section>
  301. <h1>THE END</h1>
  302. <h3>BY Hakim El Hattab / hakim.se</h3>
  303. </section>
  304. </div>
  305. </div>
  306. <script src="lib/js/head.min.js"></script>
  307. <script src="js/reveal.min.js"></script>
  308. <script>
  309. // Full list of configuration options available here:
  310. // https://github.com/hakimel/reveal.js#configuration
  311. Reveal.initialize({
  312. controls: true,
  313. progress: true,
  314. history: true,
  315. center: true,
  316. theme: Reveal.getQueryHash().theme, // available themes are in /css/theme
  317. transition: Reveal.getQueryHash().transition || 'default', // default/cube/page/concave/zoom/linear/fade/none
  318. // Optional libraries used to extend on reveal.js
  319. dependencies: [
  320. { src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
  321. { src: 'plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
  322. { src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
  323. { src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
  324. { src: 'plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } },
  325. { src: 'plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } }
  326. ]
  327. });
  328. </script>
  329. </body>
  330. </html>