files/reveal.js/index.html in reveal-ck-0.5.1 vs files/reveal.js/index.html in reveal-ck-0.6.0

- old
+ new

@@ -10,27 +10,25 @@ <meta name="author" content="Hakim El Hattab"> <meta name="apple-mobile-web-app-capable" content="yes" /> <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" /> - <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> + <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui"> - <link rel="stylesheet" href="css/reveal.min.css"> + <link rel="stylesheet" href="css/reveal.css"> <link rel="stylesheet" href="css/theme/default.css" id="theme"> <!-- For syntax highlighting --> <link rel="stylesheet" href="lib/css/zenburn.css"> - <!-- If the query includes 'print-pdf', include the PDF print sheet --> + <!-- Include the appropriate print stylesheet --> <script> - if( window.location.search.match( /print-pdf/gi ) ) { - var link = document.createElement( 'link' ); - link.rel = 'stylesheet'; - link.type = 'text/css'; - link.href = 'css/print/pdf.css'; - document.getElementsByTagName( 'head' )[0].appendChild( link ); - } + var link = document.createElement( 'link' ); + link.rel = 'stylesheet'; + link.type = 'text/css'; + link.href = window.location.search.match( /print-pdf/gi ) ? 'css/print/pdf.css' : 'css/print/paper.css'; + document.getElementsByTagName( 'head' )[0].appendChild( link ); </script> <!--[if lt IE 9]> <script src="lib/js/html5shiv.js"></script> <![endif]--> @@ -49,14 +47,13 @@ <small>Created by <a href="http://hakim.se">Hakim El Hattab</a> / <a href="http://twitter.com/hakimel">@hakimel</a></small> </p> </section> <section> - <h2>Heads Up</h2> + <h2>Hello There</h2> <p> - reveal.js is a framework for easily creating beautiful presentations using HTML. You'll need a browser with - support for CSS 3D transforms to see it in its full glory. + 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. </p> <aside class="notes"> 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). </aside> @@ -64,42 +61,35 @@ <!-- Example of nested vertical slides --> <section> <section> <h2>Vertical Slides</h2> - <p> - Slides can be nested inside of other slides, - try pressing <a href="#" class="navigate-down">down</a>. - </p> - <a href="#" class="image navigate-down"> - <img width="178" height="238" src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Down arrow"> + <p>Slides can be nested inside of each other.</p> + <p>Use the <em>Space</em> key to navigate through all slides.</p> + <br> + <a href="#" class="navigate-down"> + <img width="178" height="238" data-src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Down arrow"> </a> </section> <section> <h2>Basement Level 1</h2> - <p>Press down or up to navigate.</p> + <p>Nested slides are useful for adding additional detail underneath a high level horizontal slide.</p> </section> <section> <h2>Basement Level 2</h2> - <p>Cornify</p> - <a class="test" href="http://cornify.com"> - <img width="280" height="326" src="https://s3.amazonaws.com/hakim-static/reveal-js/cornify.gif" alt="Unicorn"> - </a> - </section> - <section> - <h2>Basement Level 3</h2> <p>That's it, time to go back up.</p> - <a href="#/2" class="image"> - <img width="178" height="238" src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Up arrow" style="-webkit-transform: rotate(180deg);"> + <br> + <a href="#/2"> + <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);"> </a> </section> </section> <section> <h2>Slides</h2> <p> - 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>. + 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>. </p> </section> <section> <h2>Point of View</h2> @@ -110,13 +100,13 @@ 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. </p> </section> <section> - <h2>Works in Mobile Safari</h2> + <h2>Mobile Support</h2> <p> - Try it out! You can swipe through the slides and pinch your way to the overview. + Presentations work on touch devices such as phones and tablets. Simply swipe through your slides. </p> </section> <section> <h2>Marvelous Unordered List</h2> @@ -135,10 +125,40 @@ <li>Two is smaller than...</li> <li>Three!</li> </ol> </section> + <section> + <h2>Superb Tables</h2> + <table> + <thead> + <tr> + <th>Item</th> + <th>Value</th> + <th>Quantity</th> + </tr> + </thead> + <tbody> + <tr> + <td>Apples</td> + <td>$1</td> + <td>7</td> + <tr> + <tr> + <td>Lemonade</td> + <td>$2</td> + <td>18</td> + <tr> + <tr> + <td>Bread</td> + <td>$3</td> + <td>2</td> + <tr> + </tbody> + </table> + </section> + <section data-markdown> <script type="text/template"> ## Markdown support 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). @@ -156,18 +176,16 @@ <section id="transitions"> <h2>Transition Styles</h2> <p> You can select from different transitions, like: <br> - <a href="?transition=cube#/transitions">Cube</a> - - <a href="?transition=page#/transitions">Page</a> - - <a href="?transition=concave#/transitions">Concave</a> - - <a href="?transition=zoom#/transitions">Zoom</a> - - <a href="?transition=linear#/transitions">Linear</a> - - <a href="?transition=fade#/transitions">Fade</a> - + <a href="?#/transitions">Default</a> - <a href="?transition=none#/transitions">None</a> - - <a href="?#/transitions">Default</a> + <a href="?transition=fade#/transitions">Fade</a> - + <a href="?transition=slide#/transitions">Slide</a> - + <a href="?transition=concave#/transitions">Concave</a> - + <a href="?transition=zoom#/transitions">Zoom</a> </p> </section> <section id="themes"> <h2>Themes</h2> @@ -201,11 +219,11 @@ <section data-state="customevent"> <h2>Custom Events</h2> <p> Additionally custom events can be triggered on a per slide basis by binding to the <code>data-state</code> name. </p> - <pre><code data-trim contenteditable style="font-size: 18px; margin-top: 20px;"> + <pre><code class="javascript" data-trim contenteditable style="font-size: 18px;"> Reveal.addEventListener( 'customevent', function() { console.log( '"customevent" has fired' ); } ); </code></pre> </section> @@ -214,12 +232,12 @@ <section data-background="#007777"> <h2>Slide Backgrounds</h2> <p> 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. </p> - <a href="#" class="image navigate-down"> - <img width="178" height="238" src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Down arrow"> + <a href="#" class="navigate-down"> + <img width="178" height="238" data-src="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png" alt="Down arrow"> </a> </section> <section data-background="https://s3.amazonaws.com/hakim-static/reveal-js/arrow.png"> <h2>Image Backgrounds</h2> <pre><code>&lt;section data-background="image.png"&gt;</code></pre> @@ -228,18 +246,18 @@ <h2>Repeated Image Backgrounds</h2> <pre><code style="word-wrap: break-word;">&lt;section data-background="image.png" data-background-repeat="repeat" data-background-size="100px"&gt;</code></pre> </section> </section> - <section data-transition="linear" data-background="#4d7e65" data-background-transition="slide"> + <section data-transition="slide" data-background="#4d7e65" data-background-transition="slide"> <h2>Background Transitions</h2> <p> Pass reveal.js the <code>backgroundTransition: 'slide'</code> config argument to make backgrounds slide rather than fade. </p> </section> - <section data-transition="linear" data-background="#8c4738" data-background-transition="slide"> + <section data-transition="slide" data-background="#8c4738" data-background-transition="slide"> <h2>Background Transition Override</h2> <p> You can override background transitions per slide by using <code>data-background-transition="slide"</code>. </p> </section> @@ -315,12 +333,12 @@ </section> </section> <section> <h2>Spectacular image!</h2> - <a class="image" href="http://lab.hakim.se/meny/" target="_blank"> - <img width="320" height="299" src="http://s3.amazonaws.com/hakim-static/portfolio/images/meny.png" alt="Meny"> + <a href="http://lab.hakim.se/meny/" target="_blank"> + <img width="320" height="299" data-src="http://s3.amazonaws.com/hakim-static/portfolio/images/meny.png" alt="Meny"> </a> </section> <section> <h2>Export to PDF</h2> @@ -332,12 +350,11 @@ </section> <section> <h2>Take a Moment</h2> <p> - 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 - during a presentation. + 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 during a presentation. </p> </section> <section> <h2>Stellar Links</h2> @@ -356,11 +373,11 @@ </div> </div> <script src="lib/js/head.min.js"></script> - <script src="js/reveal.min.js"></script> + <script src="js/reveal.js"></script> <script> // Full list of configuration options available here: // https://github.com/hakimel/reveal.js#configuration @@ -369,23 +386,23 @@ progress: true, history: true, center: true, theme: Reveal.getQueryHash().theme, // available themes are in /css/theme - transition: Reveal.getQueryHash().transition || 'default', // default/cube/page/concave/zoom/linear/fade/none + transition: Reveal.getQueryHash().transition || 'default', // none/fade/slide/convex/concave/zoom // Parallax scrolling // parallaxBackgroundImage: 'https://s3.amazonaws.com/hakim-static/reveal-js/reveal-parallax-1.jpg', // parallaxBackgroundSize: '2100px 900px', // Optional libraries used to extend on reveal.js dependencies: [ { src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } }, { src: 'plugin/markdown/marked.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } }, { src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } }, - { src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } }, - { src: 'plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } }, - { src: 'plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } } + { src: 'plugin/highlight/highlight.js', async: true, condition: function() { return !!document.querySelector( 'pre code' ); }, callback: function() { hljs.initHighlightingOnLoad(); } }, + { src: 'plugin/zoom-js/zoom.js', async: true }, + { src: 'plugin/notes/notes.js', async: true } ] }); </script>