A JavaScript library for building modern HTML presentations. deck.js is flexible enough to let advanced CSS and JavaScript authors craft highly customized decks, but also provides templates and themes for the HTML novice to build a standard slideshow.
Check out the documentation page for more information on the methods, events, and options available in core and all the included extensions. A sample standard slide deck is included in the package under the introduction
folder. You can also view that sample deck online to play with the available style and transition themes.
Take a look at the wiki for lists of extensions, themes, and other related goodies. If you have a publicly available project of your own, feel free to add to the list.
Unit tests are written with Jasmine and jasmine-jquery. You can run them here.
deck.js has been tested with jQuery 1.6+ and works in IE7+, Chrome, FF, Safari, and Opera. The more capable browsers receive greater enhancements, but a basic cutaway slideshow will work for all browsers listed above. Please don't give your presentations in IE6.
For any questions or general discussion about deck.js please direct your attention to the mailing list (uses Google groups.) If you would like to report a bug, please see the issues page.
There is an issue with certain builds of Chrome that result in a solid blue background and generally broken decks. This is a bug in Chrome (Issue 91518) that stems from hardware acceleration of 3d transforms. Current workarounds:
--disable-accelerated-compositing
in the Chrome loading optionstranslate3d
with translate
in the CSS of your decks (though this will slow down performance on iOS devices and Safari.)Firefox contains a bug that allows users to scroll horizontally using the trackpad despite overflow-x:hidden
. (Bug 664275 and Bug 325942.) If anyone knows of any workarounds to this issue please contact me.
Core includes stripped down black and white print styles for the standard slide template that is suitable for handouts.
If you would like to contribute a patch to deck.js please do as much as you can of the following:
Copyright (c) 2011 Caleb Troughton
Dual licensed under the MIT license and GPL license.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.