This repository has been archived by the owner on Feb 12, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f4ae734
commit 549ba31
Showing
9 changed files
with
41 additions
and
71 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,16 +1,13 @@ | |||
<div class="slide-body"> | <div class="slide-body"> | ||
<hgroup> | <h1>What is slideshow.html?</h1> | ||
<h1>Intraslide animation</h1> |
|
||
<h2>I'm calling these "actions"</h2> | <p><strong>slideshow.html</strong> is the resulting file of running <code>./watch</code> on your terminal.</p> | ||
</hgroup> | <p><strong>watch</strong> is a ruby script that will monitor a source folder.</p> | ||
<p>You can hide/reveal content within the slides by giving something a class of "action". Actions are revealed in the order in which they occur in the HTML. Advancing to the next slide will first reveal actions on the page if they exist.</p> | <p>This source folder contains:</p> | ||
<pre> | |||
<p class="action">This will be hidden when the slide loads</p> | |||
</pre> | |||
<ul> | <ul> | ||
<li class="action">Bullet point</li> | <li class="action">A master.html file where you set the title and other configurations</li> | ||
<li class="action">Another bullet point</li> | <li class="action">One slide<N>.html.partial file per slide</li> | ||
<li class="action">Yet another bullet point</li> | <li class="action">CSS, JavaScript, images and other files you may want to add to your presentation</li> | ||
<li class="action">You get the idea</li> | |||
</ul> | </ul> | ||
<p class="action"><strong>slideshow.html</strong> is just a compiled file with all this information.</p> | |||
</div> | </div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,12 +1,19 @@ | |||
<div class="slide-body"> | <div class="slide-body"> | ||
<hgroup> | <h1>What is slideshow.html?</h1> | ||
<h1>Custom events</h1> |
|
||
<h2>These may or may not be useful for you</h2> | <p>So, you need Ruby to create your presentation,</p> | ||
</hgroup> | <p style="text-align:right" class="action">but you do not to present or publish it.</p> | ||
<p>When a new slide is loaded, a "newSlide" event is fired. (Take a look at your console.)</p> | <div class="gap"></div> | ||
<p>There's also an event triggered when a new "action" is revealed.</p> | <p class="action">Everytime you make a change in one of your slides, <br>the <strong>slideshow.html</strong> file gets updated.</p> | ||
<pre> | <div class="gap"></div> | ||
//Example usage | <p class="action">It even automatically refreshes in your browser.</p> | ||
$('html').bind('newSlide', function(e,id) { console.log(id) }); | </div> | ||
</pre> |
|
||
</div> | <style> | ||
#slide3 p { | |||
font-size: 35px; | |||
} | |||
#slide3 .gap { | |||
height: 35px; | |||
} | |||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,17 +1,3 @@ | |||
<div class="slide-body"> | <div class="slide-body"> | ||
<hgroup> | <h1>Thank you!</h1> | ||
<h1>Building slides</h1> | |||
<h2>It's easy</h2> | |||
</hgroup> | |||
<p>Each slide goes within a <code>section</code> element, like this:</p> | |||
<pre> | |||
<section> | |||
<hgroup> | |||
<h1>Your heading</h1> | |||
<h2>Your subheading</h2> | |||
</hgroup> | |||
<p>All your slide content...</p> | |||
</section> | |||
</pre> | |||
<p>You don't have to worry about numbering the slides. The script will count the number of <code>section</code> elements and give each one a numbered ID on page load.</p> | |||
</div> | </div> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.