index.html 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423
  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.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', include the PDF print sheet -->
  16. <script>
  17. if( window.location.search.match( /print-pdf/gi ) ) {
  18. var link = document.createElement( 'link' );
  19. link.rel = 'stylesheet';
  20. link.type = 'text/css';
  21. link.href = 'css/print/pdf.css';
  22. document.getElementsByTagName( 'head' )[0].appendChild( link );
  23. }
  24. </script>
  25. <!--[if lt IE 9]>
  26. <script src="lib/js/html5shiv.js"></script>
  27. <![endif]-->
  28. </head>
  29. <body>
  30. <div class="reveal">
  31. <!-- Any section element inside of this container is displayed as a slide -->
  32. <div class="slides">
  33. <section>
  34. <h1>Reveal.js</h1>
  35. <h3>HTML Presentations Made Easy</h3>
  36. <p>
  37. <small>Created by <a href="http://hakim.se">Hakim El Hattab</a> / <a href="http://twitter.com/hakimel">@hakimel</a></small>
  38. </p>
  39. </section>
  40. <section>
  41. <h2>Heads Up</h2>
  42. <p>
  43. reveal.js is a framework for easily creating beautiful presentations using HTML. You'll need a browser with
  44. support for CSS 3D transforms to see it in its full glory.
  45. </p>
  46. <aside class="notes">
  47. 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).
  48. </aside>
  49. </section>
  50. <!-- Example of nested vertical slides -->
  51. <section>
  52. <section>
  53. <h2>Vertical Slides</h2>
  54. <p>
  55. Slides can be nested inside of other slides,
  56. try pressing <a href="#" class="navigate-down">down</a>.
  57. </p>
  58. <a href="#" class="navigate-down">
  59. <img width="178" height="238" data-src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Down arrow">
  60. </a>
  61. </section>
  62. <section>
  63. <h2>Basement Level 1</h2>
  64. <p>Press down or up to navigate.</p>
  65. </section>
  66. <section>
  67. <h2>Basement Level 2</h2>
  68. <p>Cornify</p>
  69. <a class="test" href="http://cornify.com">
  70. <img width="280" height="326" data-src="https://s3.amazonaws.com/hakim-static/reveal-js/cornify.gif" alt="Unicorn">
  71. </a>
  72. </section>
  73. <section>
  74. <h2>Basement Level 3</h2>
  75. <p>That's it, time to go back up.</p>
  76. <a href="#/2">
  77. <img width="178" height="238" data-src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Up arrow" style="-webkit-transform: rotate(180deg);">
  78. </a>
  79. </section>
  80. </section>
  81. <section>
  82. <h2>Slides</h2>
  83. <p>
  84. 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>.
  85. </p>
  86. </section>
  87. <section>
  88. <h2>Point of View</h2>
  89. <p>
  90. Press <strong>ESC</strong> to enter the slide overview.
  91. </p>
  92. <p>
  93. 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.
  94. </p>
  95. </section>
  96. <section>
  97. <h2>Works in Mobile Safari</h2>
  98. <p>
  99. Try it out! You can swipe through the slides and pinch your way to the overview.
  100. </p>
  101. </section>
  102. <section>
  103. <h2>Marvelous Unordered List</h2>
  104. <ul>
  105. <li>No order here</li>
  106. <li>Or here</li>
  107. <li>Or here</li>
  108. <li>Or here</li>
  109. </ul>
  110. </section>
  111. <section>
  112. <h2>Fantastic Ordered List</h2>
  113. <ol>
  114. <li>One is smaller than...</li>
  115. <li>Two is smaller than...</li>
  116. <li>Three!</li>
  117. </ol>
  118. </section>
  119. <section>
  120. <h2>Superb Tables</h2>
  121. <table>
  122. <thead>
  123. <tr>
  124. <th>Item</th>
  125. <th>Value</th>
  126. <th>Quantity</th>
  127. </tr>
  128. </thead>
  129. <tbody>
  130. <tr>
  131. <td>Apples</td>
  132. <td>$1</td>
  133. <td>7</td>
  134. <tr>
  135. <tr>
  136. <td>Lemonade</td>
  137. <td>$2</td>
  138. <td>18</td>
  139. <tr>
  140. <tr>
  141. <td>Bread</td>
  142. <td>$3</td>
  143. <td>2</td>
  144. <tr>
  145. </tbody>
  146. </table>
  147. </section>
  148. <section data-markdown>
  149. <script type="text/template">
  150. ## Markdown support
  151. 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).
  152. ```
  153. <section data-markdown>
  154. ## Markdown support
  155. For those of you who like that sort of thing.
  156. Instructions and a bit more info available [here](https://github.com/hakimel/reveal.js#markdown).
  157. </section>
  158. ```
  159. </script>
  160. </section>
  161. <section id="transitions">
  162. <h2>Transition Styles</h2>
  163. <p>
  164. You can select from different transitions, like: <br>
  165. <a href="?#/transitions">Default</a> -
  166. <a href="?transition=none#/transitions">None</a> -
  167. <a href="?transition=fade#/transitions">Fade</a> -
  168. <a href="?transition=slide#/transitions">Slide</a> -
  169. <a href="?transition=concave#/transitions">Concave</a> -
  170. <a href="?transition=zoom#/transitions">Zoom</a>
  171. </p>
  172. </section>
  173. <section id="themes">
  174. <h2>Themes</h2>
  175. <p>
  176. Reveal.js comes with a few themes built in: <br>
  177. <a href="?#/themes">Default</a> -
  178. <a href="?theme=sky#/themes">Sky</a> -
  179. <a href="?theme=beige#/themes">Beige</a> -
  180. <a href="?theme=simple#/themes">Simple</a> -
  181. <a href="?theme=serif#/themes">Serif</a> -
  182. <a href="?theme=night#/themes">Night</a> <br>
  183. <a href="?theme=moon#/themes">Moon</a> -
  184. <a href="?theme=solarized#/themes">Solarized</a>
  185. </p>
  186. <p>
  187. <small>
  188. * 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>.
  189. </small>
  190. </p>
  191. </section>
  192. <section>
  193. <h2>Global State</h2>
  194. <p>
  195. Set <code>data-state="something"</code> on a slide and <code>"something"</code>
  196. will be added as a class to the document element when the slide is open. This lets you
  197. apply broader style changes, like switching the background.
  198. </p>
  199. </section>
  200. <section data-state="customevent">
  201. <h2>Custom Events</h2>
  202. <p>
  203. Additionally custom events can be triggered on a per slide basis by binding to the <code>data-state</code> name.
  204. </p>
  205. <pre><code class="javascript" data-trim contenteditable style="font-size: 18px;">
  206. Reveal.addEventListener( 'customevent', function() {
  207. console.log( '"customevent" has fired' );
  208. } );
  209. </code></pre>
  210. </section>
  211. <section>
  212. <section data-background="#007777">
  213. <h2>Slide Backgrounds</h2>
  214. <p>
  215. 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.
  216. </p>
  217. <a href="#" class="navigate-down">
  218. <img width="178" height="238" data-src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Down arrow">
  219. </a>
  220. </section>
  221. <section data-background="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png">
  222. <h2>Image Backgrounds</h2>
  223. <pre><code>&lt;section data-background="image.png"&gt;</code></pre>
  224. </section>
  225. <section data-background="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" data-background-repeat="repeat" data-background-size="100px">
  226. <h2>Repeated Image Backgrounds</h2>
  227. <pre><code style="word-wrap: break-word;">&lt;section data-background="image.png" data-background-repeat="repeat" data-background-size="100px"&gt;</code></pre>
  228. </section>
  229. </section>
  230. <section data-transition="slide" data-background="#4d7e65" data-background-transition="slide">
  231. <h2>Background Transitions</h2>
  232. <p>
  233. Pass reveal.js the <code>backgroundTransition: 'slide'</code> config argument to make backgrounds slide rather than fade.
  234. </p>
  235. </section>
  236. <section data-transition="slide" data-background="#8c4738" data-background-transition="slide">
  237. <h2>Background Transition Override</h2>
  238. <p>
  239. You can override background transitions per slide by using <code>data-background-transition="slide"</code>.
  240. </p>
  241. </section>
  242. <section>
  243. <h2>Clever Quotes</h2>
  244. <p>
  245. These guys come in two forms, inline: <q cite="http://searchservervirtualization.techtarget.com/definition/Our-Favorite-Technology-Quotations">
  246. &ldquo;The nice thing about standards is that there are so many to choose from&rdquo;</q> and block:
  247. </p>
  248. <blockquote cite="http://searchservervirtualization.techtarget.com/definition/Our-Favorite-Technology-Quotations">
  249. &ldquo;For years there has been a theory that millions of monkeys typing at random on millions of typewriters would
  250. reproduce the entire works of Shakespeare. The Internet has proven this theory to be untrue.&rdquo;
  251. </blockquote>
  252. </section>
  253. <section>
  254. <h2>Pretty Code</h2>
  255. <pre><code data-trim contenteditable>
  256. function linkify( selector ) {
  257. if( supports3DTransforms ) {
  258. var nodes = document.querySelectorAll( selector );
  259. for( var i = 0, len = nodes.length; i &lt; len; i++ ) {
  260. var node = nodes[i];
  261. if( !node.className ) {
  262. node.className += ' roll';
  263. }
  264. }
  265. }
  266. }
  267. </code></pre>
  268. <p>Courtesy of <a href="http://softwaremaniacs.org/soft/highlight/en/description/">highlight.js</a>.</p>
  269. </section>
  270. <section>
  271. <h2>Intergalactic Interconnections</h2>
  272. <p>
  273. You can link between slides internally,
  274. <a href="#/2/3">like this</a>.
  275. </p>
  276. </section>
  277. <section>
  278. <section id="fragments">
  279. <h2>Fragmented Views</h2>
  280. <p>Hit the next arrow...</p>
  281. <p class="fragment">... to step through ...</p>
  282. <ol>
  283. <li class="fragment"><code>any type</code></li>
  284. <li class="fragment"><em>of view</em></li>
  285. <li class="fragment"><strong>fragments</strong></li>
  286. </ol>
  287. <aside class="notes">
  288. This slide has fragments which are also stepped through in the notes window.
  289. </aside>
  290. </section>
  291. <section>
  292. <h2>Fragment Styles</h2>
  293. <p>There's a few styles of fragments, like:</p>
  294. <p class="fragment grow">grow</p>
  295. <p class="fragment shrink">shrink</p>
  296. <p class="fragment roll-in">roll-in</p>
  297. <p class="fragment fade-out">fade-out</p>
  298. <p class="fragment highlight-red">highlight-red</p>
  299. <p class="fragment highlight-green">highlight-green</p>
  300. <p class="fragment highlight-blue">highlight-blue</p>
  301. <p class="fragment current-visible">current-visible</p>
  302. <p class="fragment highlight-current-blue">highlight-current-blue</p>
  303. </section>
  304. </section>
  305. <section>
  306. <h2>Spectacular image!</h2>
  307. <a href="http://lab.hakim.se/meny/" target="_blank">
  308. <img width="320" height="299" data-src="http://s3.amazonaws.com/hakim-static/portfolio/images/meny.png" alt="Meny">
  309. </a>
  310. </section>
  311. <section>
  312. <h2>Export to PDF</h2>
  313. <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>
  314. <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>
  315. <script>
  316. document.getElementById('slideshare').attributeName = 'allowfullscreen';
  317. </script>
  318. </section>
  319. <section>
  320. <h2>Take a Moment</h2>
  321. <p>
  322. 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
  323. during a presentation.
  324. </p>
  325. </section>
  326. <section>
  327. <h2>Stellar Links</h2>
  328. <ul>
  329. <li><a href="http://slid.es">Try the online editor</a></li>
  330. <li><a href="https://github.com/hakimel/reveal.js">Source code on GitHub</a></li>
  331. <li><a href="http://twitter.com/hakimel">Follow me on Twitter</a></li>
  332. </ul>
  333. </section>
  334. <section>
  335. <h1>THE END</h1>
  336. <h3>BY Hakim El Hattab / hakim.se</h3>
  337. </section>
  338. </div>
  339. </div>
  340. <script src="lib/js/head.min.js"></script>
  341. <script src="js/reveal.js"></script>
  342. <script>
  343. // Full list of configuration options available here:
  344. // https://github.com/hakimel/reveal.js#configuration
  345. Reveal.initialize({
  346. controls: true,
  347. progress: true,
  348. history: true,
  349. center: true,
  350. theme: Reveal.getQueryHash().theme, // available themes are in /css/theme
  351. transition: Reveal.getQueryHash().transition || 'default', // none/fade/slide/convex/concave/zoom
  352. // Parallax scrolling
  353. // parallaxBackgroundImage: 'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg',
  354. // parallaxBackgroundSize: '2100px 900px',
  355. // Optional libraries used to extend on reveal.js
  356. dependencies: [
  357. { src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
  358. { src: 'plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
  359. { src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
  360. { src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
  361. { src: 'plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } },
  362. { src: 'plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } }
  363. ]
  364. });
  365. </script>
  366. </body>
  367. </html>