index.html 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409
  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. <!-- Code syntax highlighting -->
  14. <link rel="stylesheet" href="lib/css/zenburn.css">
  15. <!-- Printing and PDF exports -->
  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 enables you to create beautiful interactive slide decks using HTML. This presentation will show you examples of what it can do.
  42. </p>
  43. </section>
  44. <!-- Example of nested vertical slides -->
  45. <section>
  46. <section>
  47. <h2>Vertical Slides</h2>
  48. <p>Slides can be nested inside of each other.</p>
  49. <p>Use the <em>Space</em> key to navigate through all slides.</p>
  50. <br>
  51. <a href="#" class="navigate-down">
  52. <img width="178" height="238" data-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>Nested slides are useful for adding additional detail underneath a high level horizontal slide.</p>
  58. </section>
  59. <section>
  60. <h2>Basement Level 2</h2>
  61. <p>That's it, time to go back up.</p>
  62. <br>
  63. <a href="#/2">
  64. <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);">
  65. </a>
  66. </section>
  67. </section>
  68. <section>
  69. <h2>Slides</h2>
  70. <p>
  71. Not a coder? Not a 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>.
  72. </p>
  73. </section>
  74. <section>
  75. <h2>Point of View</h2>
  76. <p>
  77. Press <strong>ESC</strong> to enter the slide overview.
  78. </p>
  79. <p>
  80. 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.
  81. </p>
  82. </section>
  83. <section>
  84. <h2>Touch Optimized</h2>
  85. <p>
  86. Presentations look great on touch devices, like mobile phones and tablets. Simply swipe through your slides.
  87. </p>
  88. </section>
  89. <section data-markdown>
  90. <script type="text/template">
  91. ## Markdown support
  92. Write content using inline or external Markdown.
  93. Instructions and more info available in the [readme](https://github.com/hakimel/reveal.js#markdown).
  94. ```
  95. <section data-markdown>
  96. ## Markdown support
  97. Write content using inline or external Markdown.
  98. Instructions and more info available in the [readme](https://github.com/hakimel/reveal.js#markdown).
  99. </section>
  100. ```
  101. </script>
  102. </section>
  103. <section>
  104. <section id="fragments">
  105. <h2>Fragments</h2>
  106. <p>Hit the next arrow...</p>
  107. <p class="fragment">... to step through ...</p>
  108. <p><span class="fragment">... a</span> <span class="fragment">fragmented</span> <span class="fragment">slide.</span></p>
  109. <aside class="notes">
  110. This slide has fragments which are also stepped through in the notes window.
  111. </aside>
  112. </section>
  113. <section>
  114. <h2>Fragment Styles</h2>
  115. <p>There's different types of fragments, like:</p>
  116. <p class="fragment grow">grow</p>
  117. <p class="fragment shrink">shrink</p>
  118. <p class="fragment roll-in">roll-in</p>
  119. <p class="fragment fade-out">fade-out</p>
  120. <p class="fragment current-visible">current-visible</p>
  121. <p class="fragment highlight-red">highlight-red</p>
  122. <p class="fragment highlight-blue">highlight-blue</p>
  123. </section>
  124. </section>
  125. <section id="transitions">
  126. <h2>Transition Styles</h2>
  127. <p>
  128. You can select from different transitions, like: <br>
  129. <a href="?transition=none#/transitions">None</a> -
  130. <a href="?transition=fade#/transitions">Fade</a> -
  131. <a href="?transition=slide#/transitions">Slide</a> -
  132. <a href="?transition=convex#/transitions">Convex</a> -
  133. <a href="?transition=concave#/transitions">Concave</a> -
  134. <a href="?transition=zoom#/transitions">Zoom</a>
  135. </p>
  136. </section>
  137. <section id="themes">
  138. <h2>Themes</h2>
  139. <p>
  140. reveal.js comes with a few themes built in: <br>
  141. <!-- Hacks to swap themes after the page has loaded. Not flexible and only intended for the reveal.js demo deck. -->
  142. <a href="#" onclick="document.getElementById('theme').setAttribute('href','css/theme/black.css'); return false;">Black (default)</a> -
  143. <a href="#" onclick="document.getElementById('theme').setAttribute('href','css/theme/white.css'); return false;">White</a> -
  144. <a href="#" onclick="document.getElementById('theme').setAttribute('href','css/theme/league.css'); return false;">League</a> -
  145. <a href="#" onclick="document.getElementById('theme').setAttribute('href','css/theme/sky.css'); return false;">Sky</a> -
  146. <a href="#" onclick="document.getElementById('theme').setAttribute('href','css/theme/beige.css'); return false;">Beige</a> -
  147. <a href="#" onclick="document.getElementById('theme').setAttribute('href','css/theme/simple.css'); return false;">Simple</a> <br>
  148. <a href="#" onclick="document.getElementById('theme').setAttribute('href','css/theme/serif.css'); return false;">Serif</a> -
  149. <a href="#" onclick="document.getElementById('theme').setAttribute('href','css/theme/night.css'); return false;">Night</a> -
  150. <a href="#" onclick="document.getElementById('theme').setAttribute('href','css/theme/moon.css'); return false;">Moon</a> -
  151. <a href="#" onclick="document.getElementById('theme').setAttribute('href','css/theme/solarized.css'); return false;">Solarized</a>
  152. </p>
  153. </section>
  154. <section>
  155. <section data-background="#dddddd">
  156. <h2>Slide Backgrounds</h2>
  157. <p>
  158. Set <code>data-background="#dddddd"</code> on a slide to change the background color. All CSS color formats are supported.
  159. </p>
  160. <a href="#" class="navigate-down">
  161. <img width="178" height="238" data-src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Down arrow">
  162. </a>
  163. </section>
  164. <section data-background="https://s3.amazonaws.com/hakim-static/reveal-js/image-placeholder.png">
  165. <h2>Image Backgrounds</h2>
  166. <pre><code>&lt;section data-background="image.png"&gt;</code></pre>
  167. </section>
  168. <section data-background="https://s3.amazonaws.com/hakim-static/reveal-js/image-placeholder.png" data-background-repeat="repeat" data-background-size="100px">
  169. <h2>Tiled Backgrounds</h2>
  170. <pre><code style="word-wrap: break-word;">&lt;section data-background="image.png" data-background-repeat="repeat" data-background-size="100px"&gt;</code></pre>
  171. </section>
  172. <section data-background-video="https://s3.amazonaws.com/static.slid.es/site/homepage/v1/homepage-video-editor.mp4,https://s3.amazonaws.com/static.slid.es/site/homepage/v1/homepage-video-editor.webm" data-background-color="#000000">
  173. <div style="background-color: rgba(0, 0, 0, 0.9); color: #fff; padding: 20px;">
  174. <h2>Video Backgrounds</h2>
  175. <pre><code style="word-wrap: break-word;">&lt;section data-background-video="video.mp4,video.webm"&gt;</code></pre>
  176. </div>
  177. </section>
  178. </section>
  179. <section data-transition="slide" data-background="#4d7e65" data-background-transition="zoom">
  180. <h2>Background Transitions</h2>
  181. <p>
  182. Different background transitions are available via the backgroundTransition option. This one's called "zoom".
  183. </p>
  184. <pre><code>Reveal.configure({ backgroundTransition: 'zoom' })</code></pre>
  185. </section>
  186. <section data-transition="slide" data-background="#b5533c" data-background-transition="zoom">
  187. <h2>Background Transitions</h2>
  188. <p>
  189. You can override background transitions per-slide.
  190. </p>
  191. <pre><code style="word-wrap: break-word;">&lt;section data-background-transition="zoom"&gt;</code></pre>
  192. </section>
  193. <section>
  194. <h2>Pretty Code</h2>
  195. <pre><code data-trim 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>Code syntax highlighting courtesy of <a href="http://softwaremaniacs.org/soft/highlight/en/description/">highlight.js</a>.</p>
  209. </section>
  210. <section>
  211. <h2>Marvelous List</h2>
  212. <ul>
  213. <li>No order here</li>
  214. <li>Or here</li>
  215. <li>Or here</li>
  216. <li>Or here</li>
  217. </ul>
  218. </section>
  219. <section>
  220. <h2>Fantastic Ordered List</h2>
  221. <ol>
  222. <li>One is smaller than...</li>
  223. <li>Two is smaller than...</li>
  224. <li>Three!</li>
  225. </ol>
  226. </section>
  227. <section>
  228. <h2>Tabular Tables</h2>
  229. <table>
  230. <thead>
  231. <tr>
  232. <th>Item</th>
  233. <th>Value</th>
  234. <th>Quantity</th>
  235. </tr>
  236. </thead>
  237. <tbody>
  238. <tr>
  239. <td>Apples</td>
  240. <td>$1</td>
  241. <td>7</td>
  242. <tr>
  243. <tr>
  244. <td>Lemonade</td>
  245. <td>$2</td>
  246. <td>18</td>
  247. <tr>
  248. <tr>
  249. <td>Bread</td>
  250. <td>$3</td>
  251. <td>2</td>
  252. <tr>
  253. </tbody>
  254. </table>
  255. </section>
  256. <section>
  257. <h2>Clever Quotes</h2>
  258. <p>
  259. These guys come in two forms, inline: <q cite="http://searchservervirtualization.techtarget.com/definition/Our-Favorite-Technology-Quotations">
  260. &ldquo;The nice thing about standards is that there are so many to choose from&rdquo;</q> and block:
  261. </p>
  262. <blockquote cite="http://searchservervirtualization.techtarget.com/definition/Our-Favorite-Technology-Quotations">
  263. &ldquo;For years there has been a theory that millions of monkeys typing at random on millions of typewriters would
  264. reproduce the entire works of Shakespeare. The Internet has proven this theory to be untrue.&rdquo;
  265. </blockquote>
  266. </section>
  267. <section>
  268. <h2>Intergalactic Interconnections</h2>
  269. <p>
  270. You can link between slides internally,
  271. <a href="#/2/3">like this</a>.
  272. </p>
  273. </section>
  274. <section>
  275. <h2>Speaker View</h2>
  276. <p>There's a <a href="https://github.com/hakimel/reveal.js#speaker-notes">speaker view</a>. It includes a timer, preview of the upcoming slide as well as your speaker notes.</p>
  277. <p>Press the <em>S</em> key to try it out.</p>
  278. <aside class="notes">
  279. 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).
  280. </aside>
  281. </section>
  282. <section>
  283. <h2>Export to PDF</h2>
  284. <p>Presentations can be <a href="https://github.com/hakimel/reveal.js#pdf-export">exported to PDF</a>, here's an example:</p>
  285. <iframe src="//www.slideshare.net/slideshow/embed_code/42840540" width="445" height="355" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" style="border:3px solid #666; margin-bottom:5px; max-width: 100%;" allowfullscreen> </iframe>
  286. </section>
  287. <section>
  288. <h2>Global State</h2>
  289. <p>
  290. Set <code>data-state="something"</code> on a slide and <code>"something"</code>
  291. will be added as a class to the document element when the slide is open. This lets you
  292. apply broader style changes, like switching the page background.
  293. </p>
  294. </section>
  295. <section data-state="customevent">
  296. <h2>State Events</h2>
  297. <p>
  298. Additionally custom events can be triggered on a per slide basis by binding to the <code>data-state</code> name.
  299. </p>
  300. <pre><code class="javascript" data-trim contenteditable style="font-size: 18px;">
  301. Reveal.addEventListener( 'customevent', function() {
  302. console.log( '"customevent" has fired' );
  303. } );
  304. </code></pre>
  305. </section>
  306. <section>
  307. <h2>Take a Moment</h2>
  308. <p>
  309. 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.
  310. </p>
  311. </section>
  312. <section>
  313. <h2>Much more</h2>
  314. <ul>
  315. <li>Right-to-left support</li>
  316. <li><a href="https://github.com/hakimel/reveal.js#api">Extensive JavaScript API</a></li>
  317. <li><a href="https://github.com/hakimel/reveal.js#auto-sliding">Auto-progression</a></li>
  318. <li><a href="https://github.com/hakimel/reveal.js#parallax-background">Parallax backgrounds</a></li>
  319. <li><a href="https://github.com/hakimel/reveal.js#keyboard-bindings">Custom keyboard bindings</a></li>
  320. </ul>
  321. </section>
  322. <section style="text-align: left;">
  323. <h1>THE END</h1>
  324. <p>
  325. - <a href="http://slides.com">Try the online editor</a> <br>
  326. - <a href="https://github.com/hakimel/reveal.js">Source code &amp; documentation</a>
  327. </p>
  328. </section>
  329. </div>
  330. </div>
  331. <script src="lib/js/head.min.js"></script>
  332. <script src="js/reveal.js"></script>
  333. <script>
  334. // Full list of configuration options available at:
  335. // https://github.com/hakimel/reveal.js#configuration
  336. Reveal.initialize({
  337. controls: true,
  338. progress: true,
  339. history: true,
  340. center: true,
  341. transition: 'slide', // none/fade/slide/convex/concave/zoom
  342. // Optional reveal.js plugins
  343. dependencies: [
  344. { src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
  345. { src: 'plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
  346. { src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
  347. { src: 'plugin/highlight/highlight.js', async: true, condition: function() { return !!document.querySelector( 'pre code' ); }, callback: function() { hljs.initHighlightingOnLoad(); } },
  348. { src: 'plugin/zoom-js/zoom.js', async: true },
  349. { src: 'plugin/notes/notes.js', async: true }
  350. ]
  351. });
  352. </script>
  353. </body>
  354. </html>