Skip to content

Adds a table of contents to HTML based presentations including Reveal.js, html5slides, io-2013-slide, Shower and impress.js

License

Notifications You must be signed in to change notification settings

wwwind/presentable

 
 

Repository files navigation

Presentable

A Table of Contents for HTML Presentations

Presentable is a small script/plugin/widget/thingy that adds a table of contents to HTML based presentations by parsing the header tags.

See examples and detailed instructions: http://fcfeibel.com/presentable/

Framework Support

The following presentation frameworks are supported out of the box, and Presentable can theoretically handle other frameworks too, although your mileage may vary.

Browser Support

Presentable should work in Firefox, Chrome, Safari, and IE9/10. If it doesn't open an issue.

Generic Instructions

These are generic instructions for installing. See the official documentation for presentation specific instructions.

CSS

Add the CSS in the <head> tag.

<link rel="stylesheet" href="path/to/presentable.min.css">

HTML

Wrap the following HTML in a slide.

<h2>Table of Contents</h2>
<nav id="presentable-toc" class="frameworkname"></nav>

And add this as a child of the <body> tag.

<aside id="presentable-icon" class="frameworkname">
    <a title="Table of Contents" href="#?">
        <img alt="Table of Contents" src="path/to/frameworkname.png"/>
    </a>
</aside>

JavaScript

Reference presentable.js following the conventions set by your framework of choice.

<script src="path/to/presentable.min.js"></script>

Initialize

This goes after all the slides.

presentable.toc({
    framework: "framework name here"
});

It can also accept other configuration options allowing Presentable to support almost any framework.

presentable.toc({
    config: "options here"
});

Learn More

See examples and instructions: http://fcfeibel.com/presentable/

About

Adds a table of contents to HTML based presentations including Reveal.js, html5slides, io-2013-slide, Shower and impress.js

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 48.5%
  • CSS 34.1%
  • HTML 16.9%
  • Other 0.5%