index.html 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  1. <!doctype html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>reveal.js</title>
  6. <meta name="description" content="An easy to use CSS 3D slideshow tool for quickly creating good looking HTML presentations.">
  7. <meta name="author" content="Hakim El Hattab">
  8. <link href='http://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
  9. <link rel="stylesheet" href="css/reset.css">
  10. <link rel="stylesheet" href="css/main.css">
  11. <link rel="stylesheet" href="lib/zenburn.css">
  12. </head>
  13. <body>
  14. <div id="reveal">
  15. <!-- Any section element inside of this container is displayed as a slide -->
  16. <div class="slides">
  17. <section>
  18. <h1>Reveal.js</h1>
  19. <h3 class="inverted">A CSS 3D Slideshow</h3>
  20. <script>
  21. // Delicously hacky. Look away.
  22. if( navigator.userAgent.match( /(iPhone|iPad|iPod|Android)/i ) )
  23. document.write( '<p style="color: rgba(0,0,0,0.3); text-shadow: none;">('+'Tap to navigate'+')</p>' );
  24. </script>
  25. </section>
  26. <section>
  27. <h2>Heads Up</h2>
  28. <p>
  29. reveal.js is an easy to use, HTML based, presentation tool. You'll need a modern browser with
  30. support for CSS 3D transforms to see it in its full glory.
  31. </p>
  32. <p>
  33. <i><small>- <a href="http://hakim.se">Hakim El Hattab</a> / <a href="http://twitter.com/hakimel">@hakimel</a></small></i>
  34. </p>
  35. </section>
  36. <!-- Example of nested vertical slides -->
  37. <section>
  38. <section>
  39. <h2>Vertical Slides</h2>
  40. <p>
  41. Slides can be nested inside of other slides,<br/>
  42. try pressing <a href="#/2/1">down</a>.
  43. </p>
  44. <a href="#/2/1" class="image">
  45. <img width="178" height="238" src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png">
  46. </a>
  47. </section>
  48. <section>
  49. <h2>Basement Level 1</h2>
  50. <p>Press down or up to navigate.</p>
  51. </section>
  52. <section>
  53. <h2>Basement Level 2</h2>
  54. <p>Cornify</p>
  55. <a class="test" href="http://cornify.com">
  56. <img width="280" height="326" src="https://s3.amazonaws.com/hakim-static/reveal-js/cornify.gif">
  57. </a>
  58. </section>
  59. <section>
  60. <h2>Basement Level 3</h2>
  61. <p>That's it, time to go back up.</p>
  62. <a href="#/2" class="image">
  63. <img width="178" height="238" src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" style="-webkit-transform: rotate(180deg);">
  64. </a>
  65. </section>
  66. </section>
  67. <section>
  68. <h2>Holistic Overview</h2>
  69. <p>
  70. Press <strong>SPACE</strong> to enter the slide overview.
  71. </p>
  72. </section>
  73. <section>
  74. <h2>Transition Styles</h2>
  75. <p>
  76. You can select from different transitions, like:
  77. </p>
  78. <ul>
  79. <li><a href="http://lab.hakim.se/reveal-js/?transition=cube">Cube</a></li>
  80. <li><a href="http://lab.hakim.se/reveal-js/?transition=page">Page</a></li>
  81. <li><a href="http://lab.hakim.se/reveal-js/?transition=concave">Concave</a></li>
  82. </ul>
  83. </section>
  84. <section>
  85. <h2>Marvelous Unordered List</h2>
  86. <ul>
  87. <li>No order here</li>
  88. <li>Or here</li>
  89. <li>Or here</li>
  90. <li>Or here</li>
  91. </ul>
  92. </section>
  93. <section>
  94. <h2>Fantastic Ordered List</h2>
  95. <ol>
  96. <li>One is smaller than...</li>
  97. <li>Two is smaller than...</li>
  98. <li>Three!</li>
  99. </ol>
  100. </section>
  101. <section>
  102. <h2>Clever Quotes</h2>
  103. <p>
  104. These guys come in two forms, inline: <q cite="http://searchservervirtualization.techtarget.com/definition/Our-Favorite-Technology-Quotations">
  105. The nice thing about standards is that there are so many to choose from</q> and block:
  106. </p>
  107. <blockquote cite="http://searchservervirtualization.techtarget.com/definition/Our-Favorite-Technology-Quotations">
  108. For years there has been a theory that millions of monkeys typing at random on millions of typewriters would
  109. reproduce the entire works of Shakespeare. The Internet has proven this theory to be untrue.
  110. </blockquote>
  111. </section>
  112. <section>
  113. <h2>Pretty Code</h2>
  114. <pre><code contenteditable>
  115. var supports3DTransforms = document.body.style['webkitPerspective'] !== undefined ||
  116. document.body.style['MozPerspective'] !== undefined ||
  117. document.body.style['perspective'] !== undefined;
  118. function linkify( selector ) {
  119. if( supports3DTransforms ) {
  120. var nodes = document.querySelectorAll( selector );
  121. for( var i = 0, len = nodes.length; i < len; i++ ) {
  122. var node = nodes[i];
  123. if( !node.className || !node.className.match( /roll/g ) ) {
  124. node.className += ' roll';
  125. node.innerHTML = '<span data-title="'+ node.text +'">' + node.innerHTML + '</span>';
  126. }
  127. };
  128. }
  129. }
  130. linkify( 'a' );
  131. </code></pre>
  132. <p>Courtesy of <a href="http://softwaremaniacs.org/soft/highlight/en/description/">highlight.js</a>.</p>
  133. </section>
  134. <section>
  135. <h2>Intergalactic Interconnections</h2>
  136. <p>
  137. You can link between slides internally,<br/>
  138. <a href="#/2/3">like this</a>.
  139. </p>
  140. </section>
  141. <section>
  142. <h2>Fragmented Views</h2>
  143. <p>Hit the next arrow...</p>
  144. <p class="fragment">... to step through ...</p>
  145. <ol>
  146. <li class="fragment"><code>any type</code></li>
  147. <li class="fragment"><em>of view</em></li>
  148. <li class="fragment"><strong>fragments</strong></li>
  149. </ol>
  150. </section>
  151. <section>
  152. <h2>Spectacular image!</h2>
  153. <a class="image" href="http://hakim.se/experiments/html5/breakdom/" target="_blank">
  154. <img width="320" height="412" src="https://s3.amazonaws.com/hakim-static/reveal-js/breakdom.png">
  155. </a>
  156. </section>
  157. <section>
  158. <h2>Stellar Links</h2>
  159. <ul>
  160. <li><a href="https://github.com/hakimel/reveal.js">Source code on github</a></li>
  161. <li><a href="http://hakim.se/projects/reveal-js">Read more on my site</a></li>
  162. <li><a href="http://twitter.com/hakimel">Follow me on Twitter</a></li>
  163. </ul>
  164. </section>
  165. <section>
  166. <h1>THE END</h1>
  167. <h3 class="inverted">BY Hakim El Hattab / hakim.se</h3>
  168. </section>
  169. </div>
  170. <!-- The navigational controls UI -->
  171. <aside class="controls">
  172. <a class="left" href="#">&#x25C4;</a>
  173. <a class="right" href="#">&#x25BA;</a>
  174. <a class="up" href="#">&#x25B2;</a>
  175. <a class="down" href="#">&#x25BC;</a>
  176. </aside>
  177. <!-- Displays presentation progress, max value changes via JS to reflect # of slides -->
  178. <div class="progress"><span></span></div>
  179. </div>
  180. <script src="js/reveal.js"></script>
  181. <!-- Optional libraries for code syntax highlighting and classList support in IE9 -->
  182. <script src="lib/highlight.js"></script>
  183. <script src="lib/classList.js"></script>
  184. <script>
  185. // Parse the query string into a key/value object
  186. var query = {};
  187. location.search.replace( /[A-Z0-9]+?=(\w*)/gi, function(a) {
  188. query[ a.split( '=' ).shift() ] = a.split( '=' ).pop();
  189. } );
  190. Reveal.initialize({
  191. // Display controls in the bottom right corner
  192. controls: true,
  193. // Display a presentation progress bar
  194. progress: true,
  195. // If true; each slide will be pushed to the browser history
  196. history: true,
  197. // Flags if mouse wheel navigation should be enabled
  198. mouseWheel: true,
  199. // Apply a 3D roll to links on hover
  200. rollingLinks: true,
  201. // UI style
  202. theme: query.theme || 'default', // default/neon
  203. // Transition style
  204. transition: query.transition || 'default' // default/cube/page/concave/linear(2d)
  205. });
  206. hljs.initHighlightingOnLoad();
  207. </script>
  208. </body>
  209. </html>