index.html 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404
  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, minimal-ui">
  11. <link rel="stylesheet" href="css/reveal.css">
  12. <link rel="stylesheet" href="css/theme/black.css" id="theme">
  13. <!-- For syntax highlighting -->
  14. <link rel="stylesheet" href="lib/css/zenburn.css">
  15. <!-- Include the appropriate print stylesheet -->
  16. <script>
  17. var link = document.createElement( 'link' );
  18. link.rel = 'stylesheet';
  19. link.type = 'text/css';
  20. link.href = window.location.search.match( /print-pdf/gi ) ? 'css/print/pdf.css' : 'css/print/paper.css';
  21. document.getElementsByTagName( 'head' )[0].appendChild( link );
  22. </script>
  23. <!--[if lt IE 9]>
  24. <script src="lib/js/html5shiv.js"></script>
  25. <![endif]-->
  26. </head>
  27. <body>
  28. <div class="reveal">
  29. <!-- Any section element inside of this container is displayed as a slide -->
  30. <div class="slides">
  31. <section>
  32. <h1>Reveal.js</h1>
  33. <h3>The HTML Presentation Framework</h3>
  34. <p>
  35. <small>Created by <a href="http://hakim.se">Hakim El Hattab</a> / <a href="http://twitter.com/hakimel">@hakimel</a></small>
  36. </p>
  37. </section>
  38. <section>
  39. <h2>Hello There</h2>
  40. <p>
  41. reveal.js is a framework that enables you to create beautiful presentations using HTML. This demo presentation will tell you more about what you can do with it.
  42. </p>
  43. <aside class="notes">
  44. 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).
  45. </aside>
  46. </section>
  47. <!-- Example of nested vertical slides -->
  48. <section>
  49. <section>
  50. <h2>Vertical Slides</h2>
  51. <p>Slides can be nested inside of each other.</p>
  52. <p>Use the <em>Space</em> key to navigate through all slides.</p>
  53. <br>
  54. <a href="#" class="navigate-down">
  55. <img width="178" height="238" data-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>Nested slides are useful for adding additional detail underneath a high level horizontal slide.</p>
  61. </section>
  62. <section>
  63. <h2>Basement Level 2</h2>
  64. <p>That's it, time to go back up.</p>
  65. <br>
  66. <a href="#/2">
  67. <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);">
  68. </a>
  69. </section>
  70. </section>
  71. <section>
  72. <h2>Slides</h2>
  73. <p>
  74. Not a coder? No problem. There's a fully-featured visual editor for authoring these, try it out at <a href="http://slides.com" target="_blank">http://slides.com</a>.
  75. </p>
  76. </section>
  77. <section>
  78. <h2>Point of View</h2>
  79. <p>
  80. Press <strong>ESC</strong> to enter the slide overview.
  81. </p>
  82. <p>
  83. 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.
  84. </p>
  85. </section>
  86. <section>
  87. <h2>Touch Optimized</h2>
  88. <p>
  89. Presentations look great on touch devices, like mobile phones and tablets. Simply swipe through your slides.
  90. </p>
  91. </section>
  92. <section data-markdown>
  93. <script type="text/template">
  94. ## Markdown support
  95. Write content using inline or external Markdown.
  96. Instructions and more info available in the [readme](https://github.com/hakimel/reveal.js#markdown).
  97. ```
  98. <section data-markdown>
  99. ## Markdown support
  100. Write content using inline or external Markdown.
  101. Instructions and more info available in the [readme](https://github.com/hakimel/reveal.js#markdown).
  102. </section>
  103. ```
  104. </script>
  105. </section>
  106. <section>
  107. <section id="fragments">
  108. <h2>Fragments</h2>
  109. <p>Hit the next arrow...</p>
  110. <p class="fragment">... to step through ...</p>
  111. <p><span class="fragment">... a</span> <span class="fragment">fragmented</span> <span class="fragment">slide.</span></p>
  112. <aside class="notes">
  113. This slide has fragments which are also stepped through in the notes window.
  114. </aside>
  115. </section>
  116. <section>
  117. <h2>Fragment Styles</h2>
  118. <p>There's different types of fragments, like:</p>
  119. <p class="fragment grow">grow</p>
  120. <p class="fragment shrink">shrink</p>
  121. <p class="fragment roll-in">roll-in</p>
  122. <p class="fragment fade-out">fade-out</p>
  123. <p class="fragment current-visible">current-visible</p>
  124. <p class="fragment highlight-red">highlight-red</p>
  125. <p class="fragment highlight-blue">highlight-blue</p>
  126. </section>
  127. </section>
  128. <section id="transitions">
  129. <h2>Transition Styles</h2>
  130. <p>
  131. You can select from different transitions, like: <br>
  132. <a href="?transition=none#/transitions">None</a> -
  133. <a href="?transition=fade#/transitions">Fade</a> -
  134. <a href="?transition=slide#/transitions">Slide</a> -
  135. <a href="?transition=convex#/transitions">Convex</a> -
  136. <a href="?transition=concave#/transitions">Concave</a> -
  137. <a href="?transition=zoom#/transitions">Zoom</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">Black (default)</a> -
  145. <a href="?theme=league#/themes">League</a> -
  146. <a href="?theme=sky#/themes">Sky</a> -
  147. <a href="?theme=beige#/themes">Beige</a> -
  148. <a href="?theme=simple#/themes">Simple</a> -
  149. <a href="?theme=serif#/themes">Serif</a> -
  150. <a href="?theme=night#/themes">Night</a> <br>
  151. <a href="?theme=moon#/themes">Moon</a> -
  152. <a href="?theme=solarized#/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 &lt;head&gt; using a &lt;link&gt;.
  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 page background.
  166. </p>
  167. </section>
  168. <section data-state="customevent">
  169. <h2>State 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 class="javascript" data-trim contenteditable style="font-size: 18px;">
  174. Reveal.addEventListener( 'customevent', function() {
  175. console.log( '"customevent" has fired' );
  176. } );
  177. </code></pre>
  178. </section>
  179. <section>
  180. <section data-background="#dddddd">
  181. <h2>Slide Backgrounds</h2>
  182. <p>
  183. Set <code>data-background="#dddddd"</code> on a slide to change the background color. All CSS color formats are supported.
  184. </p>
  185. <a href="#" class="navigate-down">
  186. <img width="178" height="238" data-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/image-placeholder.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/image-placeholder.png" data-background-repeat="repeat" data-background-size="100px">
  194. <h2>Tiled 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="slide" data-background="#4d7e65" data-background-transition="zoom">
  199. <h2>Background Transitions</h2>
  200. <p>
  201. Different background transitions are available via the backgroundTransition option. This one's called "zoom".
  202. </p>
  203. <pre><code>Reveal.configure({ backgroundTransition: 'zoom' })</code></pre>
  204. </section>
  205. <section data-transition="slide" data-background="#b5533c" data-background-transition="zoom">
  206. <h2>Background Transitions</h2>
  207. <p>
  208. You can override background transitions per-slide.
  209. </p>
  210. <pre><code style="word-wrap: break-word;">&lt;section data-background-transition="zoom"&gt;</code></pre>
  211. </section>
  212. <section>
  213. <h2>Marvelous List</h2>
  214. <ul>
  215. <li>No order here</li>
  216. <li>Or here</li>
  217. <li>Or here</li>
  218. <li>Or here</li>
  219. </ul>
  220. </section>
  221. <section>
  222. <h2>Fantastic Ordered List</h2>
  223. <ol>
  224. <li>One is smaller than...</li>
  225. <li>Two is smaller than...</li>
  226. <li>Three!</li>
  227. </ol>
  228. </section>
  229. <section>
  230. <h2>Tabular Tables</h2>
  231. <table>
  232. <thead>
  233. <tr>
  234. <th>Item</th>
  235. <th>Value</th>
  236. <th>Quantity</th>
  237. </tr>
  238. </thead>
  239. <tbody>
  240. <tr>
  241. <td>Apples</td>
  242. <td>$1</td>
  243. <td>7</td>
  244. <tr>
  245. <tr>
  246. <td>Lemonade</td>
  247. <td>$2</td>
  248. <td>18</td>
  249. <tr>
  250. <tr>
  251. <td>Bread</td>
  252. <td>$3</td>
  253. <td>2</td>
  254. <tr>
  255. </tbody>
  256. </table>
  257. </section>
  258. <section>
  259. <h2>Clever Quotes</h2>
  260. <p>
  261. These guys come in two forms, inline: <q cite="http://searchservervirtualization.techtarget.com/definition/Our-Favorite-Technology-Quotations">
  262. &ldquo;The nice thing about standards is that there are so many to choose from&rdquo;</q> and block:
  263. </p>
  264. <blockquote cite="http://searchservervirtualization.techtarget.com/definition/Our-Favorite-Technology-Quotations">
  265. &ldquo;For years there has been a theory that millions of monkeys typing at random on millions of typewriters would
  266. reproduce the entire works of Shakespeare. The Internet has proven this theory to be untrue.&rdquo;
  267. </blockquote>
  268. </section>
  269. <section>
  270. <h2>Pretty Code</h2>
  271. <pre><code data-trim contenteditable>
  272. function linkify( selector ) {
  273. if( supports3DTransforms ) {
  274. var nodes = document.querySelectorAll( selector );
  275. for( var i = 0, len = nodes.length; i &lt; len; i++ ) {
  276. var node = nodes[i];
  277. if( !node.className ) {
  278. node.className += ' roll';
  279. }
  280. }
  281. }
  282. }
  283. </code></pre>
  284. <p>Courtesy of <a href="http://softwaremaniacs.org/soft/highlight/en/description/">highlight.js</a>.</p>
  285. </section>
  286. <section>
  287. <h2>Intergalactic Interconnections</h2>
  288. <p>
  289. You can link between slides internally,
  290. <a href="#/2/3">like this</a>.
  291. </p>
  292. </section>
  293. <section>
  294. <h2>Spectacular image!</h2>
  295. <a href="http://lab.hakim.se/meny/" target="_blank">
  296. <img width="320" height="299" data-src="http://s3.amazonaws.com/hakim-static/portfolio/images/meny.png" alt="Meny">
  297. </a>
  298. </section>
  299. <section>
  300. <h2>Export to PDF</h2>
  301. <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>
  302. <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>
  303. <script>
  304. document.getElementById('slideshare').attributeName = 'allowfullscreen';
  305. </script>
  306. </section>
  307. <section>
  308. <h2>Take a Moment</h2>
  309. <p>
  310. Press B or . on your keyboard to pause the presentation. This is helpful when you're on stage and want to take distracting slides off the screen.
  311. </p>
  312. </section>
  313. <section>
  314. <h2>Stellar Links</h2>
  315. <ul>
  316. <li><a href="http://slid.es">Try the online editor</a></li>
  317. <li><a href="https://github.com/hakimel/reveal.js">Source code on GitHub</a></li>
  318. <li><a href="http://twitter.com/hakimel">Follow me on Twitter</a></li>
  319. </ul>
  320. </section>
  321. <section>
  322. <h1>THE END</h1>
  323. <h3>BY Hakim El Hattab / hakim.se</h3>
  324. </section>
  325. </div>
  326. </div>
  327. <script src="lib/js/head.min.js"></script>
  328. <script src="js/reveal.js"></script>
  329. <script>
  330. // Full list of configuration options available here:
  331. // https://github.com/hakimel/reveal.js#configuration
  332. Reveal.initialize({
  333. controls: true,
  334. progress: true,
  335. history: true,
  336. center: true,
  337. transition: 'slide', // none/fade/slide/convex/concave/zoom
  338. // Optional libraries used to extend on reveal.js
  339. dependencies: [
  340. { src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
  341. { src: 'plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
  342. { src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
  343. { src: 'plugin/highlight/highlight.js', async: true, condition: function() { return !!document.querySelector( 'pre code' ); }, callback: function() { hljs.initHighlightingOnLoad(); } },
  344. { src: 'plugin/zoom-js/zoom.js', async: true },
  345. { src: 'plugin/notes/notes.js', async: true }
  346. ]
  347. });
  348. </script>
  349. </body>
  350. </html>