Giter Club home page Giter Club logo

rslidy2's Introduction

About rSlidy2

rSlidy2 extends the HTML-based slide show creator Slidy2 by a set of responsive features and UI improvements. It works across browsers and is operated like PowerPoint but the creation and design of the slide-deck is done entirely with HTML and CSS. rSlidy2 requires no internet or server connection and works with pure HTML, CSS and JavaScript. Some features rely on other JavaScript libraries (like hammer.js or fulltilt.js) but those are not required to operate rSlidy2 in its most basic form.

2 How to use

2.1 Create HTML

To understand the basic structure of a rSlidy2 slideshow please take a look at the demo.html. Create an html file in which you want to define your slides. Firstly you need to include a set of scripts and stylesheets. Include in this order:

<link rel="stylesheet" href="styles/reset.css"/>
<link rel="stylesheet" href="styles/normalise.css"/>
<link rel="stylesheet" href="styles/slides-base.css"/>
<link rel="stylesheet" href="styles/slidyx.css" />
<link rel="stylesheet" href="demo.css" />

<script src="scripts/fulltilt.js" charset="utf-8" type="text/javascript"></script>
<script src="scripts/slidyx.js" charset="utf-8" type="text/javascript"></script>

This is already done for you in the demo.html. You can ommit fulltilt.js if you're not planning to use the tilt and shake features of slidy.

2.2 Add Slides

Each slide is represented by a div within the <body> of your HTML file. To create a slide apply the class "slide" to a div. Like:

<div class="slide"> 
    ... contents of your slide. 
</div>

To add content to your slide just add some HTML between those two tags. For instance:

<div class="slide"> 
    <h1> This is my headline</h1>
</div>

2.3 Lists

One of the most useful html element on slides is probably the list tag. To add a list use either the <ul>, <ol> or <dl> tag. Like so

<div class="slide"> 
    <h1> Here is a list</h1>
    <ul>
      <li>Coffee</li>
      <li>Tea</li>
      <li>Milk</li>
    </ul> 
</div>

2.3.1 Incremental list

To incrementally display the list (and not show the entire list at once) add the class "incremental" to the list-tag.

<div class="slide">
    <h1>Here is an incremental list </h1>
    <ul class="incremental"> 
        <li> The first item </li>
        <li> The second item that will show after the first item </li>
    </ul>
</div>

2.4 Styling

rSlidy2 provides a stylesheet with a very basic and minimalistic style. To apply a custom style to your html you can link to a seperate .css file in your html and overwrite the styles for .slide, h1 and so on. Please always use a seperate stylesheet and refrain from modifying the rSlidy2.css.

3 Interaction

Use the arrow keys to advance to the next or previous slide. The Home and End key "Pos 1" and "Ende" on German keyboards will jump to the first and last slide respectively. F11 goes to full screen. F toggles the footer and O toggles the overview. There are some more keys to be used within the slideshow. To find out about those read the help section within the slides-show.

rslidy2's People

Contributors

gphilo avatar matthee avatar matthiasschlesinger avatar

Watchers

 avatar  avatar  avatar

Forkers

matthee

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.